YARA rule 'info_stealer': Information stealer patterns (credential harvesting, browser data theft) [malware]
- Category
- YARA Match
- Confidence
- 75% confidence
- Finding
YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
- Content
md alse`, `set_cookie(key, value)` without `httponly=True`. ### SS002 — Missing Secure Flag (HIGH) Session cookies without `Secure` flag are sent over plain HTTP connections (if the browser is redirected or the user types http://). Attacker on same network can intercept with passive MITM. ### SS003 — Missing SameSite (HIGH) Without `SameSite=Strict` or `SameSite=Lax`, the browser sends session cookies on cross-origin requests — enabling CSRF attacks even if a CSRF token library is used but misconfigured. Default before Chrome 80 was `SameSite=None`. ### SS004 — Session Token in URL (CRITICAL) Finds `req.query.token`, `request.args.get('session_id')`, `?auth=`, `?session=`, `?token=` used as authentication. URL tokens appear in server logs, browser history, Referer headers, and CDN access logs. ### SS005 — Session Fixation (CRITICAL) After successful login (`password.check()`, `authenticate()`, `login(user)`, `bcrypt.compare()`), the session ID must be regenerated. Finds logi
