顯示具有 Security 標籤的文章。 顯示所有文章
顯示具有 Security 標籤的文章。 顯示所有文章

2018年3月24日 星期六

Let's Encrypt通用憑證上線了

提供免費憑證服務的Let's Encrypt於本周正式發表了通用憑證(Wildcard certificates)服務,以及相容於通用憑證的ACMEv2協定。

通用憑證允許網站以單一憑證保障所有的子網域,例如當以 *.example.com申請通用憑證時,不管是www.example.com、payment.example.com或login.example.com都在該憑證的保障下;儘管Let's Encrypt建議絕大多數的網站都應採用非通用憑證,但為了推動100%的HTTPS加密傳輸,Let's Encrypt仍然替少數需求提供了通用憑證服務。

至於ACME協定的全名則是自動化憑證管理環境(Automatic Certificate Management Environment),它是一個憑證管理機構與網頁伺服器之間的自動化互動協定,能以極低的成本自動化公鑰架構的部署。

由於只有ACMEv2版本才能支援通用憑證,因此若要同時使用通用憑證與非通用憑證即必須升級到該版本。

根據Firefox的遙測數據,目前全球網友所造訪的網頁中,已有逾69%使用HTTPS加密傳輸,而在2015年9月Let's Encrypt剛上線時,該比例只有38%。

2018年3月19日 星期一

DNS伺服器列表

Public

Cloudflare

1.1.1.1

Hinet

168.95.1.1

Google

8.8.8.8
8.8.4.4

Secure

Quad 9(IBM免費DNS)


9.9.9.9

GSN(政府機關)

210.69.1.1
210.69.2.1

ipv6

2001:4420::1
2001:4420::2:1

2018年1月5日 星期五

OWASP 2017

OWASP每四年會更新一版
上一次是OWASP 2013

A1:2017-Injection

    Injection flaws, such as SQL, NoSQL, OS, and LDAP injection, occur when untrusted data is sent to an interpreter as part of a command or query. The attacker's hostile data can trick the interpreter into executing unintended commands or accessing data without proper authorization.

A2:2017-Broken Authentication

    Application functions related to authentication and session management are often implemented incorrectly, allowing attackers to compromise passwords, keys, or session tokens, or to exploit other implementation flaws to assume other users' identities temporarily or permanently.

A3:2017-Sensitive Data Exposure

    Many web applications and APIs do not properly protect sensitive data, such as financial, healthcare, and PII. Attackers may steal or modify such weakly protected data to conduct credit card fraud, identity theft, or other crimes. Sensitive data may be compromised without extra protection, such as encryption at rest or in transit, and requires special precautions when exchanged with the browser.

A4:2017-XML External Entities (XXE)

    Many older or poorly configured XML processors evaluate external entity references within XML documents. External entities can be used to disclose internal files using the file URI handler, internal file shares, internal port scanning, remote code execution, and denial of service attacks.

A5:2017-Broken Access Control

    Restrictions on what authenticated users are allowed to do are often not properly enforced. Attackers can exploit these flaws to access unauthorized functionality and/or data, such as access other users' accounts, view sensitive files, modify other users' data, change access rights, etc.

A6:2017-Security Misconfiguration

    Security misconfiguration is the most commonly seen issue. This is commonly a result of insecure default configurations, incomplete or ad hoc configurations, open cloud storage, misconfigured HTTP headers, and verbose error messages containing sensitive information. Not only must all operating systems, frameworks, libraries, and applications be securely configured, but they must be patched/upgraded in a timely fashion.

A7:2017-Cross-Site Scripting (XSS)

    XSS flaws occur whenever an application includes untrusted data in a new web page without proper validation or escaping, or updates an existing web page with user-supplied data using a browser API that can create HTML or JavaScript. XSS allows attackers to execute scripts in the victim's browser which can hijack user sessions, deface web sites, or redirect the user to malicious sites.

A8:2017-Insecure Deserialization

    Insecure deserialization often leads to remote code execution. Even if deserialization flaws do not result in remote code execution, they can be used to perform attacks, including replay attacks, injection attacks, and privilege escalation attacks.

A9:2017-Using Components with Known Vulnerabilities

    Components, such as libraries, frameworks, and other software modules, run with the same privileges as the application. If a vulnerable component is exploited, such an attack can facilitate serious data loss or server takeover. Applications and APIs using components with known vulnerabilities may undermine application defenses and enable various attacks and impacts.

A10:2017-Insufficient Logging&Monitoring

    Insufficient logging and monitoring, coupled with missing or ineffective integration with incident response, allows attackers to further attack systems, maintain persistence, pivot to more systems, and tamper, extract, or destroy data. Most breach studies show time to detect a breach is over 200 days, typically detected by external parties rather than internal processes or monitoring.