question |
réponse |
commencer à apprendre
|
|
system(); StartProcess(); java. lang. Runtime exec()
|
|
|
commencer à apprendre
|
|
via URL hhtps://... COLOR=http://evil...
|
|
|
commencer à apprendre
|
|
' or 1=1 --; xp_cmdshell; exec master
|
|
|
commencer à apprendre
|
|
%27 '; %3D =; union keyword
|
|
|
commencer à apprendre
|
|
html tags, <script><IMG><INPUT>
|
|
|
commencer à apprendre
|
|
|
|
|
commencer à apprendre
|
|
|
|
|
XSS ways to attack/manipulate/bypass commencer à apprendre
|
|
hex encoding, toggle case <SCRIPT>, double encoding, replaced keywords, whitespace manipulation
|
|
|
commencer à apprendre
|
|
netstat -ab; many TIME_WAIT sent by single IP
|
|
|
commencer à apprendre
|
|
limit length of input, hex encoding, custom error messages, disable XP_CMDSHELL, monitor traffic
|
|
|
Eradicating File Injection commencer à apprendre
|
|
chroot jail, disable allow_url_open/include
|
|
|
Eradicating Command Injection commencer à apprendre
|
|
input validation, safe API, input/output encoding
|
|
|
Eradaicating LDAP Injection commencer à apprendre
|
|
LDAP filters, domain value validation, access control tight, dynamic testing and source code analysis
|
|
|
Eradicating: Broken authentication (1) commencer à apprendre
|
|
use SSL, use MFA, no IDs in URL, password policy
|
|
|
Eradicating: Sensitive data exposure (2) commencer à apprendre
|
|
data is encrypted, dont create or use weak algorithms, no caching for data that is sensitive, secure protocols
|
|
|
Eradicating: XML external entity attacks (3) commencer à apprendre
|
|
no weakly configure XML parsers, XML unmarshaller, no DOC TYPE tag, input validation, avoid simple forms like JSON
|
|
|
Eradicating: Broken Access Control (4) commencer à apprendre
|
|
check before redirect, limit file permissions, avoid client-side caching mechanisms, remove login tokens when logout
|
|
|
Eradicating: Security missconfigurations attacks (5) commencer à apprendre
|
|
disable unused services, default accounts change/disable, use SSL, secure flag on sensitive cookiies, valid certificates
|
|
|
Eradicating: Insecure deserialization (7) commencer à apprendre
|
|
validate input, avoid serialization, filter usntrased data
|
|
|
Eradicating: XSS attacks (6) commencer à apprendre
|
|
rigorus validation of input, use testing tool during design, WAF to block malicious scripts, use HTML encoding, filter Meta characters, deplot PKI (PUBLIC)
|
|
|
Eradicating: due to Known Vulnerabilities (8) commencer à apprendre
|
|
updates, monitor vulnerabilities, patch regulary, scan with security scanners, enforce best prtactices
|
|
|
Eradaicating: Insufficient logging and monitoring commencer à apprendre
|
|
define scope of assets, minimum baseline for logging, proactive approach, prevent log injection attacks by sanitization, logs with user context
|
|
|
Eradicating: DoS attacks (10) commencer à apprendre
|
|
deny external ICMP, limit length of input, block inbound traffic transmitted through service ports
|
|
|