Posts

Showing posts with the label Security

[读书笔记] Gartner:2022—2023年八大网络安全趋势预测

  https://mp.weixin.qq.com/s/kguBo1LJ00PVtTHrAma5YA Zero Trust Security Service Edge --   单一厂商的SSE平台访问网络、云服务和专用应用的策略。 公司和第三方进行商业业务的时候,必须要把供应商的安全能力作为一项决定因素

读书笔记 : 云原生应用的安全

Image
 https://mp.weixin.qq.com/s/81d1ynZhHTw8UxzP1NnNeg OpenID:Authentication 负责认证 OAuth :Authorization   负责授权 Token:令牌。在云原生时代,令牌通常使用JWT的方式(JSON Web Token) Identity是一种资源,用于记录来自特定用户和身份提供者的成功身份验证尝试。 有关身份验证来源的任何数据都存储在身份上。 仅单个用户资源与身份资源相关联。 授权和身份验证是两个安全层,负责使用户能够与群集进行交互。 当用户向API发出请求时,该用户与该请求相关联。 认证层负责识别用户。 然后,来自身份验证层的有关发出请求的用户的信息将由授权层使用,以确定是否满足该请求。 验证用户身份后,RBAC策略将确定该用户有权执行的操作。如果API请求包含无效的身份验证,则匿名系统用户会将其认证为请求。 可以将OpenShift OAuth Server对接多个Identity Providers 可以使用OpenShift内置的OAuth做授权管理,也可以对接外部的OAuth服务器,

Security and Docker

1.  Security Test for Application in docker Not many information, but put DUT into docker could be the same thing, 2. Put security test tool in docker. I do not see huge benefit to put security test tool in docker, but there are a few posts mentions that, and major open source test tool already have their own docker image. https://raesene.github.io/blog/2015/08/15/set-up-a-complete-security-test-environment-with-command-and-docker-compose/ https://github.com/enaqx/awesome-pentest#docker-for-penetration-testing 3. Docker Security This is mainly for deployment,  check whether the docker environment is secure enough. https://medium.com/@alexeiled/docker-security-testing-3545e7493843 https://github.com/gaia-adm/docker-bench-test https://github.com/docker/docker-bench-security https://github.com/docker/notary

Interactive Analysis Security Testing

Image
Good Article to explain IAST https://www.veracode.com/security/interactive-application-security-testing-iast Static and Dynamic Scanner to detect, in development Use tools to attack in operations. 

Security Story in Web

Image

OWASP Top 10 2013

Injection:  在输入中加入代码,直接进入系统 Broken Authentication and Session Management: 利用Session  管理的问题,比如登出,密码管理,超时,remember me等等里面的漏洞来进入其他用户的账户。 Cross Site Scripting:将恶意代码发给多个用户,一旦有一个用户疏忽,就会被侵入。之后此用户和网页之间的数据交换,cookie等就有可能被暴露。  Haker --> Create Page Victim --> Visit page   Victim --> Get inject script Hacker --> Do bad thing on victim behalf Insecure Direct Object References:没有权限的用户可能访问某些需要权限才能访问的对象。特别是某些文件目录,侵入者可以猜测目录结构,然后进入一个应该保护但是没有被保护的目录 Application Security Misconfiguration:某些不必要也不安全的组件被放在网页上面,比如一些内部用的调试组件,侵入者可以通过这些组件绕过认证的过程。  Sensitive Data Exposure: 需要被加密的数据没有被加密储存或者传递,或者使用低级别的加密技术 Missing Function Level Access Control:某些函数或者控件只能被认证用户使用,但是因缺少保护,侵入者可以找到这些漏洞。 Cross-Site Request Forgery:用户访问网页的时候,现访问侵入者的主机,此主机在用户的请求后面注入恶意代码在发给用户真正要访问的服务器。  Using Components with known vulnerabilities: 开发的时候没有注意使用的库可能是已知的有问题的。使用这种库,就容易出现问题。 Unvalidated Redirects and Forwards: 网站经常会将用户重新定向。 如果定向设计的有缺陷,侵入者可以加入一些参数,引诱用户点击以后被重定向到他们希望的网页。