Spaces:
Configuration error
Configuration error
Upload src/veris_classifier/enums.py with huggingface_hub
Browse files- src/veris_classifier/enums.py +116 -0
src/veris_classifier/enums.py
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""VERIS enumeration values for structured classification output."""
|
| 2 |
+
|
| 3 |
+
ACTOR_EXTERNAL_VARIETY = [
|
| 4 |
+
"Activist", "Auditor", "Competitor", "Customer", "Force majeure",
|
| 5 |
+
"Former employee", "Nation-state", "Organized crime", "Acquaintance",
|
| 6 |
+
"State-affiliated", "Terrorist", "Unaffiliated", "Unknown", "Other",
|
| 7 |
+
]
|
| 8 |
+
|
| 9 |
+
ACTOR_INTERNAL_VARIETY = [
|
| 10 |
+
"Auditor", "Call center", "Cashier", "End-user", "Executive", "Finance",
|
| 11 |
+
"Helpdesk", "Human resources", "Maintenance", "Manager", "Guard",
|
| 12 |
+
"Developer", "System admin", "Unknown", "Other",
|
| 13 |
+
]
|
| 14 |
+
|
| 15 |
+
ACTOR_MOTIVE = [
|
| 16 |
+
"NA", "Espionage", "Fear", "Financial", "Fun", "Grudge",
|
| 17 |
+
"Ideology", "Convenience", "Unknown", "Other",
|
| 18 |
+
]
|
| 19 |
+
|
| 20 |
+
ACTION_CATEGORIES = [
|
| 21 |
+
"malware", "hacking", "social", "misuse", "physical", "error", "environmental",
|
| 22 |
+
]
|
| 23 |
+
|
| 24 |
+
ACTION_MALWARE_VARIETY = [
|
| 25 |
+
"Adware", "Backdoor", "Brute force", "Capture app data", "Capture stored data",
|
| 26 |
+
"Client-side attack", "Click fraud", "C2", "Destroy data", "Disable controls",
|
| 27 |
+
"DoS", "Downloader", "Exploit vuln", "Export data", "Packet sniffer",
|
| 28 |
+
"Password dumper", "Ram scraper", "Ransomware", "Rootkit", "Scan network",
|
| 29 |
+
"Spam", "Spyware/Keylogger", "SQL injection", "Adminware", "Worm", "Unknown", "Other",
|
| 30 |
+
]
|
| 31 |
+
|
| 32 |
+
ACTION_HACKING_VARIETY = [
|
| 33 |
+
"Abuse of functionality", "Brute force", "Buffer overflow", "Cache poisoning",
|
| 34 |
+
"Session prediction", "CSRF", "XSS", "Cryptanalysis", "DoS", "Footprinting",
|
| 35 |
+
"Forced browsing", "Format string attack", "Fuzz testing", "HTTP request smuggling",
|
| 36 |
+
"HTTP request splitting", "Integer overflows", "LDAP injection", "Mail command injection",
|
| 37 |
+
"MitM", "Null byte injection", "Offline cracking", "OS commanding", "Path traversal",
|
| 38 |
+
"RFI", "Reverse engineering", "Routing detour", "Session fixation", "Session replay",
|
| 39 |
+
"Soap array abuse", "Special element injection", "SQLi", "SSI injection",
|
| 40 |
+
"URL redirector abuse", "Use of backdoor or C2", "Use of stolen creds",
|
| 41 |
+
"XML attribute blowup", "XML entity expansion", "XML external entities",
|
| 42 |
+
"XML injection", "XPath injection", "XQuery injection", "Virtual machine escape",
|
| 43 |
+
"Unknown", "Other",
|
| 44 |
+
]
|
| 45 |
+
|
| 46 |
+
ACTION_SOCIAL_VARIETY = [
|
| 47 |
+
"Baiting", "Bribery", "Elicitation", "Extortion", "Forgery", "Influence",
|
| 48 |
+
"Scam", "Phishing", "Pretexting", "Propaganda", "Spam", "Unknown", "Other",
|
| 49 |
+
]
|
| 50 |
+
|
| 51 |
+
ACTION_MISUSE_VARIETY = [
|
| 52 |
+
"Knowledge abuse", "Privilege abuse", "Embezzlement", "Data mishandling",
|
| 53 |
+
"Email misuse", "Net misuse", "Illicit content", "Unapproved workaround",
|
| 54 |
+
"Unapproved hardware", "Unapproved software", "Unknown", "Other",
|
| 55 |
+
]
|
| 56 |
+
|
| 57 |
+
ACTION_PHYSICAL_VARIETY = [
|
| 58 |
+
"Assault", "Sabotage", "Snooping", "Surveillance", "Tampering",
|
| 59 |
+
"Theft", "Wiretapping", "Unknown", "Other",
|
| 60 |
+
]
|
| 61 |
+
|
| 62 |
+
ACTION_ERROR_VARIETY = [
|
| 63 |
+
"Classification error", "Data entry error", "Disposal error", "Gaffe", "Loss",
|
| 64 |
+
"Maintenance error", "Misconfiguration", "Misdelivery", "Misinformation",
|
| 65 |
+
"Omission", "Physical accidents", "Capacity shortage", "Programming error",
|
| 66 |
+
"Publishing error", "Malfunction", "Unknown", "Other",
|
| 67 |
+
]
|
| 68 |
+
|
| 69 |
+
ASSET_VARIETY = [
|
| 70 |
+
"S - Authentication", "S - Backup", "S - Database", "S - DHCP", "S - Directory",
|
| 71 |
+
"S - DCS", "S - DNS", "S - File", "S - Log", "S - Mail", "S - Mainframe",
|
| 72 |
+
"S - Payment switch", "S - POS controller", "S - Print", "S - Proxy",
|
| 73 |
+
"S - Remote access", "S - SCADA", "S - Web application", "S - Code repository",
|
| 74 |
+
"S - VM host",
|
| 75 |
+
"N - Access reader", "N - Camera", "N - Firewall", "N - HSM", "N - IDS",
|
| 76 |
+
"N - Broadband", "N - PBX", "N - Private WAN", "N - PLC", "N - Public WAN",
|
| 77 |
+
"N - RTU", "N - Router or switch", "N - SAN", "N - Telephone", "N - VoIP adapter",
|
| 78 |
+
"N - LAN", "N - WLAN",
|
| 79 |
+
"U - Auth token", "U - Desktop", "U - Laptop", "U - Media", "U - Mobile phone",
|
| 80 |
+
"U - Peripheral", "U - POS terminal", "U - Tablet", "U - Telephone", "U - VoIP phone",
|
| 81 |
+
"T - ATM", "T - PED pad", "T - Gas terminal", "T - Kiosk",
|
| 82 |
+
"M - Tapes", "M - Disk media", "M - Documents", "M - Flash drive", "M - Disk drive",
|
| 83 |
+
"M - Smart card", "M - Payment card",
|
| 84 |
+
"P - System admin", "P - Auditor", "P - Call center", "P - Cashier", "P - Customer",
|
| 85 |
+
"P - Developer", "P - End-user", "P - Executive", "P - Finance", "P - Former employee",
|
| 86 |
+
"P - Guard", "P - Helpdesk", "P - Human resources", "P - Maintenance", "P - Manager",
|
| 87 |
+
"P - Partner",
|
| 88 |
+
"Unknown", "Other",
|
| 89 |
+
]
|
| 90 |
+
|
| 91 |
+
ATTRIBUTE_CONFIDENTIALITY_DATA_VARIETY = [
|
| 92 |
+
"Credentials", "Bank", "Classified", "Copyrighted", "Medical",
|
| 93 |
+
"Payment", "Personal", "Internal", "System", "Secrets", "Unknown", "Other",
|
| 94 |
+
]
|
| 95 |
+
|
| 96 |
+
DATA_DISCLOSURE = ["Yes", "Potentially", "No", "Unknown"]
|
| 97 |
+
|
| 98 |
+
ATTRIBUTE_INTEGRITY_VARIETY = [
|
| 99 |
+
"Created account", "Hardware tampering", "Alter behavior", "Fraudulent transaction",
|
| 100 |
+
"Log tampering", "Misappropriation", "Misrepresentation", "Modify configuration",
|
| 101 |
+
"Modify privileges", "Modify data", "Software installation", "Unknown", "Other",
|
| 102 |
+
]
|
| 103 |
+
|
| 104 |
+
ATTRIBUTE_AVAILABILITY_VARIETY = [
|
| 105 |
+
"Destruction", "Loss", "Interruption", "Degradation",
|
| 106 |
+
"Acceleration", "Obscuration", "Unknown", "Other",
|
| 107 |
+
]
|
| 108 |
+
|
| 109 |
+
DISCOVERY_METHOD = [
|
| 110 |
+
"Ext - actor disclosure", "Ext - fraud detection", "Ext - monitoring service",
|
| 111 |
+
"Ext - customer", "Ext - unrelated party", "Ext - audit", "Ext - unknown",
|
| 112 |
+
"Int - antivirus", "Int - incident response", "Int - financial audit",
|
| 113 |
+
"Int - fraud detection", "Int - HIDS", "Int - IT audit", "Int - log review",
|
| 114 |
+
"Int - NIDS", "Int - law enforcement", "Int - security alarm", "Int - user",
|
| 115 |
+
"Int - unknown", "Unknown", "Other",
|
| 116 |
+
]
|