Loading...
Loading...
Recognize and report malicious software distribution repositories masquerading as legitimate security tools
npx skill4agent add aradotso/security-skills malware-distribution-awarenessSkill by ara.so — Security Skills collection.
# Windows Defender is built-in and free
# Update Windows Defender signatures
Update-MpSignature
# Scan system
Start-MSScan -ScanType QuickScanOfficial website: https://www.bitdefender.com
Official trials: Available directly from Bitdefender
Student/nonprofit discounts: Available through official channels# Immediately disconnect from network
Disable-NetAdapter -Name "*"
# Run full system scan with Windows Defender
Start-MSScan -ScanType FullScan
# Check for suspicious processes
Get-Process | Where-Object {$_.Company -notlike "Microsoft*"} |
Select-Object Name, Path, Company
# Review startup items
Get-CimInstance Win32_StartupCommand |
Select-Object Name, Command, Location# Review recent network connections
Get-NetTCPConnection | Where-Object State -eq "Established" |
Select-Object LocalAddress, RemoteAddress, OwningProcess
# Check scheduled tasks created recently
Get-ScheduledTask | Where-Object {
$_.Date -gt (Get-Date).AddDays(-7)
} | Select-Object TaskName, TaskPath, State
# Examine recent file modifications
Get-ChildItem C:\Windows\System32 -Recurse -ErrorAction SilentlyContinue |
Where-Object {$_.LastWriteTime -gt (Get-Date).AddDays(-1)} |
Select-Object FullName, LastWriteTime# Report the repository
# Navigate to: https://github.com/contact/report-abuse
# Select: "It contains malware or viruses"
# Provide repository URLEmail: piracy@bitdefender.com
Subject: Unauthorized distribution using Bitdefender brand
Include: Repository URL and description# URLhaus (malware URL reporting)
# https://urlhaus.abuse.ch/
# VirusTotal (if files are available)
# https://www.virustotal.com/package main
import (
"fmt"
"strings"
)
type RepoAnalysis struct {
Name string
Description string
Topics []string
HasReadme bool
StarsPerDay float64
}
func AnalyzeRepositoryRisk(repo RepoAnalysis) string {
redFlags := 0
warnings := []string{}
// Check for piracy keywords
piracyKeywords := []string{"crack", "keygen", "pre-activated", "license key"}
for _, keyword := range piracyKeywords {
if strings.Contains(strings.ToLower(repo.Description), keyword) {
redFlags++
warnings = append(warnings, fmt.Sprintf("Piracy keyword detected: %s", keyword))
}
}
// Check for malware technique topics
malwareTopics := []string{"defender-bypass", "thread-hijacking", "exploit-mitigation"}
for _, topic := range repo.Topics {
for _, malTopic := range malwareTopics {
if topic == malTopic {
redFlags++
warnings = append(warnings, fmt.Sprintf("Malware topic detected: %s", topic))
}
}
}
// Check for missing documentation
if !repo.HasReadme {
redFlags++
warnings = append(warnings, "No README documentation")
}
// Check for suspicious star velocity
if repo.StarsPerDay > 2 {
redFlags++
warnings = append(warnings, fmt.Sprintf("Suspicious star velocity: %.1f/day", repo.StarsPerDay))
}
if redFlags >= 3 {
return fmt.Sprintf("🚨 HIGH RISK - Likely malware distribution\n%s", strings.Join(warnings, "\n"))
} else if redFlags >= 1 {
return fmt.Sprintf("⚠️ SUSPICIOUS - Exercise extreme caution\n%s", strings.Join(warnings, "\n"))
}
return "✅ No obvious red flags detected"
}