malware-detection-and-removal
aradotso/security-skills
How to install malware-detection-and-removal
npx skills add https://github.com/aradotso/security-skills --skill malware-detection-and-removalFull instructions (SKILL.md)
Source of truth, from aradotso/security-skills.
name: malware-detection-and-removal description: Identify, analyze, and document malware distribution repositories masquerading as legitimate software triggers:
- detect malware repository patterns
- analyze suspicious github projects
- identify software piracy scams
- check for malicious crack repositories
- verify legitimate security software
- investigate fake download repositories
- scan for threat distribution channels
- evaluate repository authenticity
Malware Detection and Removal
Skill by ara.so — Security Skills collection.
⚠️ WARNING: This Repository is Malicious
This project is NOT legitimate Bitdefender software. It is a malware distribution repository disguising itself as cracked security software. This skill documents how to identify and handle such threats.
What This Repository Actually Is
This is a malicious repository that:
- Falsely claims to provide "cracked" Bitdefender Total Security
- Uses SEO-optimized keywords to attract victims searching for pirated software
- Contains no actual code (empty README, no source files)
- Uses deceptive topics like "defender-bypass" and "thread-hijacking"
- Artificially inflates stars to appear legitimate
- Distributes malware, ransomware, or information stealers
Identification Patterns
Red Flags for Malware Repositories
-
Suspicious Description Keywords:
- "Crack", "Keygen", "Loader", "Pre-Activated"
- "License Key", "Full Version", "Activation"
- Version numbers that don't exist (2026 when current year is earlier)
-
Repository Characteristics:
- No actual source code or empty README
- Recent creation with rapid star accumulation
- No legitimate commit history
- Topics include "bypass" and exploit terminology
- NOASSERTION license or no license
-
Deceptive Naming:
- Legitimate software name + "Crack"/"Download"
- Version numbers in future dates
- Setup/Installer in project name
Security Analysis Workflow
Step 1: Repository Investigation
package main
import (
"fmt"
"strings"
)
// RepositoryAnalysis contains threat indicators
type RepositoryAnalysis struct {
Name string
Description string
Topics []string
HasReadme bool
StarRate float64
ThreatScore int
}
// AnalyzeThreatLevel calculates risk score
func (r *RepositoryAnalysis) AnalyzeThreatLevel() int {
score := 0
// Check for crack/piracy keywords
crackKeywords := []string{"crack", "keygen", "loader", "pre-activated", "license key"}
for _, keyword := range crackKeywords {
if strings.Contains(strings.ToLower(r.Description), keyword) {
score += 20
}
}
// Check for bypass/exploit topics
dangerousTopics := []string{"defender-bypass", "thread-hijacking", "exploit-mitigation"}
for _, topic := range r.Topics {
for _, dangerous := range dangerousTopics {
if topic == dangerous {
score += 15
}
}
}
// High star rate with no content
if r.StarRate > 3 && !r.HasReadme {
score += 25
}
// No README is suspicious for "software" repo
if !r.HasReadme {
score += 20
}
return score
}
func main() {
repo := RepositoryAnalysis{
Name: "Bitdefender-Total-Security-Crack-2026",
Description: "Bitdefender Total Security Download | Crack | Keygen",
Topics: []string{"defender-bypass", "malware-scanner", "thread-hijacking"},
HasReadme: false,
StarRate: 4.0,
}
threatScore := repo.AnalyzeThreatLevel()
fmt.Printf("Repository: %s\n", repo.Name)
fmt.Printf("Threat Score: %d/100\n", threatScore)
if threatScore > 50 {
fmt.Println("⚠️ HIGH RISK: Likely malware distribution")
} else if threatScore > 30 {
fmt.Println("⚠️ MEDIUM RISK: Suspicious patterns detected")
} else {
fmt.Println("✓ Low risk")
}
}
Step 2: Content Verification
package main
import (
"fmt"
"os"
"path/filepath"
)
// VerifyRepositoryContent checks for legitimate source code
func VerifyRepositoryContent(repoPath string) (bool, []string) {
issues := []string{}
hasSourceCode := false
// Check for actual code files
sourceExts := []string{".go", ".py", ".js", ".cpp", ".c"}
err := filepath.Walk(repoPath, func(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}
if !info.IsDir() {
ext := filepath.Ext(path)
for _, sourceExt := range sourceExts {
if ext == sourceExt {
hasSourceCode = true
return nil
}
}
// Check for suspicious executables
if ext == ".exe" || ext == ".dll" || ext == ".bat" {
issues = append(issues, fmt.Sprintf("Suspicious executable: %s", path))
}
}
return nil
})
if err != nil {
issues = append(issues, fmt.Sprintf("Error scanning: %v", err))
}
if !hasSourceCode {
issues = append(issues, "No source code found - likely malware dropper")
}
return hasSourceCode, issues
}
Protection Measures
For Developers
Never clone or run code from suspicious repositories:
# DO NOT run these commands on suspicious repos:
# git clone <suspicious-repo>
# go run main.go
# ./setup.exe
# Instead, report the repository
Reporting Malicious Repositories
-
GitHub Security Advisory:
- Navigate to the repository
- Click "Security" tab
- Report as malware distribution
-
Using GitHub API (with proper authentication):
package main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"os"
)
type AbuseReport struct {
URL string `json:"url"`
Reason string `json:"reason"`
Details string `json:"details"`
}
func ReportMaliciousRepository(repoURL string) error {
// Use GitHub's abuse reporting
// Requires authentication via GITHUB_TOKEN env var
report := AbuseReport{
URL: repoURL,
Reason: "malware-distribution",
Details: "Repository distributing malware disguised as cracked software",
}
jsonData, err := json.Marshal(report)
if err != nil {
return err
}
// This is a conceptual example - GitHub abuse reports go through web form
fmt.Printf("Report prepared for: %s\n", repoURL)
fmt.Printf("Report details: %s\n", string(jsonData))
fmt.Println("Visit https://support.github.com/contact/report-abuse to submit")
return nil
}
Legitimate Security Software Verification
How to Obtain Real Bitdefender
-
Official Sources Only:
- https://www.bitdefender.com (official website)
- Authorized resellers listed on official site
- Official app stores (Microsoft Store, etc.)
-
Verification Checklist:
- ✓ HTTPS on official domain
- ✓ Valid code signing certificate
- ✓ Checksum verification from official source
- ✓ No "crack" or "keygen" mentions
Code Signing Verification (Windows)
package main
import (
"fmt"
"os/exec"
)
// VerifyCodeSignature checks Windows executable signature
func VerifyCodeSignature(filePath string) (bool, error) {
// Use PowerShell to verify signature
cmd := exec.Command("powershell", "-Command",
fmt.Sprintf("(Get-AuthenticodeSignature '%s').Status", filePath))
output, err := cmd.CombinedOutput()
if err != nil {
return false, err
}
status := string(output)
isValid := status == "Valid\n"
fmt.Printf("Signature status: %s", status)
return isValid, nil
}
Common Attack Vectors
1. Fake Installers
- Executable files disguised as setup programs
- Actually contain trojans, ransomware, or miners
2. Information Stealers
- Harvest browser credentials, cryptocurrency wallets
- Keyloggers and clipboard hijackers
3. Ransomware
- Encrypt user files and demand payment
- Often packaged with "cracks"
Best Practices
- Never download cracked software - always use legitimate sources
- Use official package managers when available (apt, brew, winget)
- Verify checksums from official sources
- Enable Windows Defender or legitimate antivirus
- Keep software updated through official channels
- Use $ANTIVIRUS_API_KEY environment variables for legitimate security tools
Educational Use Only
This skill is for security research and education to help identify and report malware distribution channels. Never use information to create or distribute malware.
Resources
- GitHub Security: https://github.com/security
- Report Abuse: https://support.github.com/contact/report-abuse
- Bitdefender Official: https://www.bitdefender.com
- MITRE ATT&CK Framework: https://attack.mitre.org
Related skills
More from aradotso/security-skills and the wider catalog.
anthropic-cybersecurity-skills
Use 754 structured cybersecurity skills mapped to MITRE ATT&CK, NIST CSF, ATLAS, D3FEND, and NIST AI RMF for AI-driven security operations
pentest-ai-agents
Claude Code subagents for offensive security research, penetration testing planning, recon analysis, exploit research, detection engineering, and security reporting
pentest-agents-bug-bounty-framework
Autonomous bug bounty agent framework with 50 agents, hunt loops, exploit chains, MCP servers for platform integration and writeup search
openosint-ai-osint-framework
AI-powered OSINT agent with interactive REPL, MCP server, and CLI for email/username/domain/IP/phone investigation using 11 integrated tools
vibe-security-skill
Agent skill that audits vibe-coded apps for common security vulnerabilities introduced by AI coding assistants
openclaw-security-hardening
Deploy and manage security hardening for high-privilege autonomous AI agents (OpenClaw) using zero-trust architecture and automated defense matrices