analyzing-linux-elf-malware
Agent skill frommukul975/Anthropic-Cybersecurity-Skills
'Analyze malicious Linux ELF binaries — botnets, cryptominers, ransomware,
How to install analyzing-linux-elf-malware
install analyzing-linux-elf-malware
# install the Anthropic-Cybersecurity-Skills pack with the skills CLI
npx skills add mukul975/Anthropic-Cybersecurity-Skills# or add only this skill to Claude Code: copy the folder
skills/analyzing-linux-elf-malware/
# into
~/.claude/skills/analyzing-linux-elf-malware/ (all projects)
.claude/skills/analyzing-linux-elf-malware/ (one project)
1# Analyzing Linux ELF Malware23## When to Use45- A Linux server or container has been compromised and suspicious ELF binaries are found6- Analyzing Linux botnets (Mirai, Gafgyt, XorDDoS), cryptominers, or ransomware7- Investigating malware targeting cloud infrastructure, Docker containers, or Kubernetes pods8- Reverse engineering Linux rootkits and kernel modules9- Analyzing cross-platform malware compiled for Linux x86_64, ARM, or MIPS architectures1011**Do not use** for Windows PE binary analysis; use PEStudio, Ghidra, or IDA for Windows malware.1213## Prerequisites1415- Ghidra or IDA with Linux ELF support for disassembly and decompilation16- Linux analysis VM (Ubuntu 22.04 recommended) with development tools installed17- strace, ltrace, and GDB for dynamic analysis and debugging18- readelf, objdump, and nm from GNU binutils for static inspection19- Radare2 for quick binary triage and scripted analysis20- Docker for isolated container-based malware execution2122## Workflow2324### Step 1: Identify ELF Binary Properties2526Examine the ELF header and basic properties:2728```bash29# File type identification30file suspect_binary3132# Detailed ELF header analysis33readelf -h suspect_binary3435# Section headers36readelf -S suspect_binary3738# Program headers (segments)39readelf -l suspect_binary4041# Symbol table (if not stripped)42readelf -s suspect_binary43nm suspect_binary 2>/dev/null4445# Dynamic linking information46readelf -d suspect_binary47ldd suspect_binary 2>/dev/null # Only on matching architecture!48…
Excerpt shown under the repository's Apache-2.0 license.
More skills in Anthropic-Cybersecurity-Skills
- ▸abusing-dpapi-for-credential-access
- ▸abusing-shadow-credentials-for-privesc
- ▸achieving-cmmc-level-2-compliance
- ▸acquiring-disk-image-with-dd-and-dcfldd
- ▸analyzing-active-directory-acl-abuse
- ▸analyzing-android-malware-with-apktool
- ▸analyzing-api-gateway-access-logs
- ▸analyzing-apt-group-with-mitre-navigator
- ▸analyzing-azure-activity-logs-for-threats
- ▸analyzing-bootkit-and-rootkit-samples
- ▸analyzing-browser-forensics-with-hindsight
- ▸analyzing-campaign-attribution-evidence
