Skip to content

Log_Extractor

Choose a tag to compare

@PrinceAikinsBaidoo PrinceAikinsBaidoo released this 19 Jan 23:53
4591e7a

New Release for Log Extractor....

πŸ†• New Log Types Added:

8. πŸ’Ύ Memory/Crash Dumps

  • Memory addresses (0x...)
  • Exception codes (EXCEPTION_ACCESS_VIOLATION, etc.)
  • Stack frames (#0, #1, #2...)
  • CPU registers (EAX, RBX, RIP, etc.)
  • Modules/DLLs (.dll, .so, .dylib)
  • Function names
  • Keywords: exception, crash, segfault, violation, fault, corrupt

9. βš™οΈ Kernel/System Dumps (dmesg)

  • Kernel timestamps [12345.678]
  • Log levels <0> to <7>
  • Device names (eth0, wlan0, sda, usb1-1)
  • Memory addresses
  • Process names in brackets
  • Keywords: error, panic, oops, bug, failed

10. πŸ“‹ JSON Log Format

  • Complete JSON objects
  • Timestamp fields
  • Level/severity fields
  • Message fields
  • Keywords: error, exception, failed, warning

11. 🐳 Container/Docker Logs

  • Container IDs (12 or 64 char hex)
  • Container names
  • Image names with tags
  • Pod names
  • Namespaces
  • Keywords: error, failed, crash, restart, oom

12. πŸ”’ Security/Audit Logs

  • Usernames
  • UIDs (User IDs)
  • Actions (login, logout, sudo, denied, granted)
  • IP addresses
  • Session IDs
  • Keywords: denied, failed, unauthorized, breach, attack

πŸ” Enhanced Common Pattern Detection:

Now detects 25+ patterns including:

βœ… UUID/GUID - Improved detection priority
βœ… IPv4 & IPv6 addresses
βœ… Memory/Hex addresses (0x...)
βœ… MD5/SHA1/SHA256 hashes
βœ… API Keys & Tokens (20+ chars)
βœ… JWT Tokens (eyJ...)
βœ… ISO Timestamps (2024-01-15T10:30:00Z)
βœ… Unix Timestamps (1640000000)
βœ… Phone numbers (US format)
βœ… Base64 strings
βœ… Process IDs (pid=12345)
βœ… Version numbers (v1.2.3)
βœ… Transaction/Reference IDs (TXN123456)
βœ… Windows & Unix paths
βœ… URLs & Email addresses
βœ… MAC addresses
βœ… Credit cards (masked)

Example Use Cases:

# Analyze a crash dump
πŸ“Š Detected Type: πŸ’Ύ Memory/Crash Dump
✨ Found patterns:
  1. Memory Address
  2. Exception Code
  3. Register Value
  4. Module/DLL
  5. UUID/GUID
  6. Windows Path

# Analyze dmesg output
πŸ“Š Detected Type: βš™οΈ Kernel/System Dump
✨ Found patterns:
  1. Timestamp
  2. Device Name
  3. Memory Address
  4. Process Name

# Analyze Docker logs
πŸ“Š Detected Type: 🐳 Container/Docker Log
✨ Found patterns:
  1. Container ID
  2. Container Name
  3. Image Name
  4. UUID/GUID

Now the script intelligently handles memory dumps, UUIDs, and 12 different log types! πŸš€

Full Changelog: https://github.com/PrinceAikinsBaidoo/CTF_Programs/commits/v1