Skip to main content

malware-detection-awareness

Understanding security risks in software distribution and recognizing illegitimate software packages

소스 정보

저장소
reason-machines/security-skills
최근 소스 활동
2026년 5월 16일 18:50
감지된 SKILL.md 언어
영어
스타
12
포크
1

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
malware-detection-awareness
description
Understanding security risks in software distribution and recognizing illegitimate software packages
triggers
["how do I identify malware distribution repositories","what are signs of malicious software packages","how to recognize fake security software","what makes a GitHub repository suspicious","how to verify legitimate software sources","what are red flags for pirated software","how do I detect keygen malware","what are indicators of compromised downloads"]
# Malware Detection Awareness > Skill by [ara.so](https://ara.so) — Security Skills collection. ## ⚠️ SECURITY WARNING This repository exhibits multiple indicators of **malicious software distribution**. It does NOT contain legitimate Avast Premium Security software. ## Threat Indicators ### Red Flags Present 1. **Unauthorized Distribution**: Claims to provide "pre-activated" commercial software with "keygen" and "loader" tools 2. **Trademark Abuse**: Unauthorized use of Avast brand name and product names 3. **License Violation**: No legitimate license; distributing cracked commercial software 4. **Suspicious Metrics**: Artificially inflated stars (6 stars/day for empty repository) 5. **No Source Code**: Repository contains no actual code or README 6. **Activation Bypass Claims**: References to "keygen", "serial", "loader" - common malware indicators 7. **Generic Project Name**: "DragonflyTomb" unrelated to security software ### Common Malware Distribution Patterns ```text LEGITIMATE SOFTWARE: ✓ Official vendor website download ✓ Verified digital signatures ✓ Clear licensing terms ✓ Active development history ✓ Real source code ✓ Community engagement MALWARE DISTRIBUTION: ✗ "Cracked" or "pre-activated" claims ✗ Keygens, loaders, patches ✗ Empty repositories with download links ✗ Star manipulation ✗ No verifiable source code ✗ Promises of "free premium" paid software ``` ## Detection Techniques ### Repository Analysis ```go // Example: Programmatic repository risk assessment package main import ( "fmt" "strings" ) type RiskIndicator struct { Pattern string Severity string } func AnalyzeRepository(description, topics []string) []RiskIndicator { risks := []RiskIndicator{} malwareKeywords := []string{ "keygen", "crack", "loader", "pre-activated", "serial", "patch", "activator", "license key", } for _, keyword := range malwareKeywords { descLower := strings.ToLower(description) if strings.Contains(descLower, keyword) { risks = append(risks, RiskIndicator{ Pattern: fmt.Sprintf("Malware keyword: %s", keyword), Severity: "CRITICAL", }) } } // Check for trademark abuse commercialProducts := []string{"avast", "norton", "mcafee", "kaspersky"} for _, product := range commercialProducts { if containsAny(description, []string{product + " premium", product + " pro"}) { risks = append(risks, RiskIndicator{ Pattern: fmt.Sprintf("Unauthorized %s distribution", product), Severity: "HIGH", }) } } return risks } func containsAny(text string, patterns []string) bool { lower := strings.ToLower(text) for _, pattern := range patterns { if strings.Contains(lower, strings.ToLower(pattern)) { return true } } return false } ``` ### URL Safety Checking ```go package security import ( "net/url" "os" "encoding/json" "net/http" ) // CheckURL validates URLs against threat intelligence func CheckURL(targetURL string) (bool, error) { // Use VirusTotal API or similar apiKey := os.Getenv("VIRUSTOTAL_API_KEY") if apiKey == "" { return false, fmt.Errorf("API key not configured") } // Parse and validate URL parsed, err := url.Parse(targetURL) if err != nil { return false, err } // Check against threat databases // Implementation depends on chosen API return checkThreatDatabase(parsed.String(), apiKey) } func checkThreatDatabase(url, apiKey string) (bool, error) { // Example implementation structure // Real implementation would use actual threat intelligence API client := &http.Client{} req, _ := http.NewRequest("GET", "https://threat-api.example.com/check", nil) req.Header.Set("X-API-Key", apiKey) // Process response // Return true if safe, false if malicious return false, nil } ``` ## Safe Software Practices ### Verification Checklist ```go // VerificationChecklist for software downloads type SoftwareSource struct { URL string IsOfficial bool HasSignature bool LicenseValid bool SourceVisible bool } func (s *SoftwareSource) IsSafe() bool { return s.IsOfficial && s.HasSignature && s.LicenseValid && s.SourceVisible } // Example usage func ValidateSource(sourceURL string) *SoftwareSource { source := &SoftwareSource{ URL: sourceURL, } // Check if URL matches official vendor domain source.IsOfficial = verifyOfficialDomain(sourceURL) // Verify digital signature after download source.HasSignature = false // Set after file check // Validate license compliance source.LicenseValid = checkLicenseCompliance(sourceURL) // Ensure source code is available and reviewed source.SourceVisible = checkSourceAvailability(sourceURL) return source } ``` ## Legitimate Alternatives ### Official Avast Download ```bash # Always download from official sources # Official Avast website: https://www.avast.com # Official download verification: # 1. Download only from avast.com # 2. Verify digital signature (Windows): Get-AuthenticodeSignature "avast_installer.exe" # 3. Check certificate issuer # Should be: Avast Software s.r.o. # 4. Purchase license through official channels # Never use keygens or cracks ``` ## Incident Response ### If Exposed to Malware ```bash #!/bin/bash # Emergency response steps # 1. Disconnect from network sudo ifconfig eth0 down # 2. Run full system scan with legitimate antivirus # Use Microsoft Defender (Windows) or ClamAV (Linux) # 3. Check for persistence mechanisms # Linux: sudo find /etc/cron* -type f -exec cat {} \; sudo systemctl list-unit-files | grep enabled # Windows (PowerShell): # Get-ScheduledTask | Where-Object {$_.State -eq "Ready"} # Get-WmiObject Win32_StartupCommand # 4. Review recent file changes find /home -type f -mtime -1 # 5. Change all credentials # Use a clean device to change passwords ``` ## Educational Resources ### Learning Malware Detection - [OWASP Malicious Software](https://owasp.org/www-community/attacks/Malicious_Software) - [VirusTotal](https://www.virustotal.com) - File/URL scanning - [Hybrid Analysis](https://www.hybrid-analysis.com) - Malware analysis - [ANY.RUN](https://any.run) - Interactive malware sandbox ### Legitimate Open Source Security ```bash # Real open-source security tools # ClamAV - Open source antivirus sudo apt install clamav freshclam # Update signatures clamscan -r /path/to/scan # YARA - Malware identification pip install yara-python # Volatility - Memory forensics git clone https://github.com/volatilityfoundation/volatility3.git ``` ## Reporting Malicious Repositories ```bash # Report to GitHub # Visit: https://github.com/contact/report-abuse # Select: Report malware or abuse # Report to vendor (Avast) # Contact: https://www.avast.com/contact # Report trademark violation and malware distribution # Report to security communities # Submit to VirusTotal, abuse.ch, etc. ``` ## Key Takeaways 1. **Never download cracked software** - always contains malware risk 2. **Verify source authenticity** - check official vendor websites 3. **Check digital signatures** - legitimate software is signed 4. **Use official licenses** - support legitimate developers 5. **Report suspicious repositories** - protect the community **This skill teaches recognition of malicious software distribution, not usage of malware.**
GitHub에서 보기