No signatures to maintain
Detection comes from machine-learning models, and new models reach an installed SDK without an SDK upgrade.
SemanticsAV is a C SDK for email gateways, web gateways, and upload and storage scanners. Its machine-learning models score each file before it runs.
A C API with a header-only C++ wrapper, shared or static, with samples in C, C++ and Python. One handle serves any number of threads.
semantics_av_init_options_t opt = semantics_av_init_options_default();
opt.base_path = "./semantics_av_data";
opt.api_key = api_key;
semantics_av_handle_t *h;
semantics_av_init(&opt, &h);
semantics_av_update_models(h, NULL); /* all models */
semantics_av_scan_result_t r = {0};
semantics_av_scan_file(h, path, &r, NULL);
/* r.verdict: CLEAN, MALICIOUS or UNKNOWN */
/* r.entries: one record per file */
semantics_av_free_scan_result(&r);
semantics_av_cleanup(h); Detection comes from machine-learning models, and new models reach an installed SDK without an SDK upgrade.
An on-premises server inside your network takes updates from offline bundles, so your models stay current with no internet connection.
SemanticsAV unpacks ZIP, 7z, RAR, ISO, VHDX, Office, HWP, PDF and .eml files, along with the files nested inside them.
Each scan returns one verdict for the whole input and a record for every file inside it. When the verdict is malicious, the result names the file that caused it.
This test email hides an executable inside a disk image inside an encrypted ZIP. SemanticsAV found the password in the email, opened the ZIP and the disk image, and flagged the executable as malicious.
invoice.eml The message, with the line Archive password: Inv2024 in its body.
scannedInvoice_2024-10.zip Encrypted with ZipCrypto, opened with the password from the message.
openedInvoice_2024-10.iso A disk image, read as a file system.
openedINVOICE_2024_10.EXE The executable, scored by the model for Windows executables.
1.00 maliciousScan verdict MALICIOUS for the whole message
Request an analysis of a flagged file. The report gives its malware family and its closest known samples, each with a similarity score and build details.
Five analyses, one for each kind of file. Each compares the file with its five closest known samples. A marked value matches the file, and Shared counts the samples that have it.
| Attribute | The file A Windows executable | Sample 1 | Sample 2 | Sample 3 | Sample 4 | Sample 5 | Shared |
|---|---|---|---|---|---|---|---|
| Similarity | the analyzed file | 99.9% | 99.9% | 99.8% | 99.7% | 99.7% | |
| Verdict | MALICIOUS | MALICIOUS | MALICIOUS | MALICIOUS | MALICIOUS | MALICIOUS | |
| Family | Tofsee | RaccoonStealer | RedLineStealer | Smoke Loader | Tofsee (same as the file) | Smoke Loader | 1 of 5 |
| Custom resource types | HUREWOH, LIBEVOBAGIWOROHUCODAVOREJA, MUM, NOTEFOY | HUREWOH, LIBEVOBAGIWOROHUCODAVOREJA, MUM, NOTEFOY (same as the file) | HUREWOH, LIBEVOBAGIWOROHUCODAVOREJA, MUM, NOTEFOY (same as the file) | HUREWOH, LIBEVOBAGIWOROHUCODAVOREJA, MUM, NOTEFOY (same as the file) | HUREWOH, LIBEVOBAGIWOROHUCODAVOREJA, MUM, NOTEFOY (same as the file) | HUREWOH, LIBEVOBAGIWOROHUCODAVOREJA, MUM, NOTEFOY (same as the file) | 5 of 5 |
| Entry point | 0x1c60 | 0x1c60 (same as the file) | 0x1c60 (same as the file) | 0x1c60 (same as the file) | 0x1c60 (same as the file) | 0x1c60 (same as the file) | 5 of 5 |
| Product version | 29.0.0.0 | 29.0.0.0 (same as the file) | 29.0.0.0 (same as the file) | 29.0.0.0 (same as the file) | 29.0.0.0 (same as the file) | 29.0.0.0 (same as the file) | 5 of 5 |
| Code section size | 102,912 bytes | 102,912 bytes (same as the file) | 102,912 bytes (same as the file) | 102,912 bytes (same as the file) | 102,912 bytes (same as the file) | 102,912 bytes (same as the file) | 5 of 5 |
| Imports | 1 library, 114 functions | 1 library, 114 functions (same as the file) | 1 library, 114 functions (same as the file) | 1 library, 114 functions (same as the file) | 1 library, 114 functions (same as the file) | 1 library, 114 functions (same as the file) | 5 of 5 |
| PDB name | hemikodu-dagesa.pdb | yud-vel_falec.pdb | fazugeholen.pdb | zuca-luwoyeyig.pdb | jacoyuriguku nes.pdb | xuloxo.pdb | 0 of 5 |
| Compiled (UTC) | 2021-03-28 17:26:13 | 2020-10-29 11:56:33 | 2020-07-01 09:39:39 | 2021-01-27 12:20:39 | 2020-07-31 16:54:22 | 2021-01-27 15:36:47 | 0 of 5 |
Sample 1 99.9% MALICIOUS RaccoonStealer
Sample 2 99.9% MALICIOUS RedLineStealer
Sample 3 99.8% MALICIOUS Smoke Loader
Sample 4 99.7% MALICIOUS Tofsee
Sample 5 99.7% MALICIOUS Smoke Loader
Reported as Tofsee. Its five closest samples go by four family names but match the file on custom resources, entry point, product version, code section size and import counts. PDB names and compile times differ.
| Attribute | The file A workbook in an OLE container | Sample 1 | Sample 2 | Sample 3 | Sample 4 | Sample 5 | Shared |
|---|---|---|---|---|---|---|---|
| Similarity | the analyzed file | 99.5% | 99.4% | 99.4% | 99.4% | 99.4% | |
| Verdict | MALICIOUS | MALICIOUS | MALICIOUS | MALICIOUS | MALICIOUS | MALICIOUS | |
| Family | none | Loki | ModiLoader | Loki | Formbook | Loki | |
| Embedded files | Microsoft_Office_Word_Macro-Enabled_Document1.docm, oleObject1.bin | Microsoft_Office_Word_Macro-Enabled_Document1.docm, oleObject1.bin (same as the file) | Microsoft_Office_Word_Macro-Enabled_Document1.docm, oleObject1.bin (same as the file) | Microsoft_Office_Word_Macro-Enabled_Document1.docm, oleObject1.bin (same as the file) | Microsoft_Office_Word_Macro-Enabled_Document1.docm, oleObject1.bin (same as the file) | Microsoft_Office_Word_Macro-Enabled_Document1.docm, oleObject1.bin (same as the file) | 5 of 5 |
| Parts | 24 parts | 24 parts (same as the file) | 24 parts (same as the file) | 24 parts (same as the file) | 24 parts (same as the file) | 24 parts (same as the file) | 5 of 5 |
| Longest line of text | 717 bytes | 717 bytes (same as the file) | 717 bytes (same as the file) | 717 bytes (same as the file) | 717 bytes (same as the file) | 717 bytes (same as the file) | 5 of 5 |
| URLs | 44 | 44 (same as the file) | 44 (same as the file) | 44 (same as the file) | 44 (same as the file) | 44 (same as the file) | 5 of 5 |
| Tags | CVE-2017-11882 | CVE-2017-11882 (same as the file) | CVE-2017-11882 (same as the file) | CVE-2017-11882 (same as the file) | CVE-2017-11882 (same as the file) | none | 4 of 5 |
| Size | 2,433,536 bytes | 2,449,408 bytes | 2,260,480 bytes | 2,535,424 bytes | 2,434,048 bytes | 2,591,226 bytes | 0 of 5 |
Sample 1 99.5% MALICIOUS Loki
Sample 2 99.4% MALICIOUS ModiLoader
Sample 3 99.4% MALICIOUS Loki
Sample 4 99.4% MALICIOUS Formbook
Sample 5 99.4% MALICIOUS Loki
No family is named for this file. Its five closest samples are reported under three family names, and all share the same two embedded files, part count, longest line and URL count. Four have the file's CVE tag.
| Attribute | The file A JScript file | Sample 1 | Sample 2 | Sample 3 | Sample 4 | Sample 5 | Shared |
|---|---|---|---|---|---|---|---|
| Similarity | the analyzed file | 95.9% | 95.9% | 95.6% | 95.3% | 94.7% | |
| Verdict | MALICIOUS | MALICIOUS | MALICIOUS | MALICIOUS | SUSPICIOUS | SUSPICIOUS | |
| Family | RemcosRAT | RemcosRAT (same as the file) | MassLogger | DarkCloud | DarkCloud | none | 1 of 5 |
| First line of text | PSK NameSpace's | PSK NameSpace's (same as the file) | PSK NameSpace's (same as the file) | PSK NameSpace's (same as the file) | PSK NameSpace's (same as the file) | PSK NameSpace's (same as the file) | 5 of 5 |
| Lines | 361 | 361 (same as the file) | 361 (same as the file) | 361 (same as the file) | 361 (same as the file) | 361 (same as the file) | 5 of 5 |
| URLs | 25 | 25 (same as the file) | 25 (same as the file) | 25 (same as the file) | 25 (same as the file) | 25 (same as the file) | 5 of 5 |
| Size | 18,314 bytes | 18,234 bytes | 18,220 bytes | 17,996 bytes | 18,116 bytes | 18,224 bytes | 0 of 5 |
| Longest line of text | 245 bytes | 236 bytes | 240 bytes | 219 bytes | 229 bytes | 243 bytes | 0 of 5 |
Sample 1 95.9% MALICIOUS RemcosRAT
Sample 2 95.9% MALICIOUS MassLogger
Sample 3 95.6% MALICIOUS DarkCloud
Sample 4 95.3% SUSPICIOUS DarkCloud
Sample 5 94.7% SUSPICIOUS no family
Reported as RemcosRAT, with RemcosRAT, MassLogger and DarkCloud among its closest samples. All six start with the same comment, have the same number of lines and URLs, and are within 320 bytes of each other.
| Attribute | The file A PDF document | Sample 1 | Sample 2 | Sample 3 | Sample 4 | Sample 5 | Shared |
|---|---|---|---|---|---|---|---|
| Similarity | the analyzed file | 99.8% | 99.1% | 95.8% | 95.5% | 95.3% | |
| Verdict | MALICIOUS | MALICIOUS | MALICIOUS | MALICIOUS | MALICIOUS | SUSPICIOUS | |
| Family | Latrodectus | BazaLoader | Latrodectus (same as the file) | Latrodectus (same as the file) | Latrodectus (same as the file) | Latrodectus (same as the file) | 4 of 5 |
| Generator comment (as written in the file) | ReportLab Generated PDF document | ReportLab Generated PDF document (same as the file) | ReportLab Generated PDF document (same as the file) | ReportLab Generated PDF document (same as the file) | ReportLab Generated PDF document (same as the file) | ReportLab Generated PDF document (same as the file) | 5 of 5 |
| URLs | 3 | 3 (same as the file) | 3 (same as the file) | 3 (same as the file) | 3 (same as the file) | 3 (same as the file) | 5 of 5 |
| Parts | 4 parts | 4 parts (same as the file) | 4 parts (same as the file) | 3 parts | 3 parts | 3 parts | 2 of 5 |
| Lines | 114 | 114 (same as the file) | 114 (same as the file) | 91 | 91 | 91 | 2 of 5 |
| Tags | none | BruteRatel | none | none | BruteRatel | none | |
| Size | 355,012 bytes | 356,377 bytes | 346,711 bytes | 347,182 bytes | 356,857 bytes | 355,578 bytes | 0 of 5 |
Sample 1 99.8% MALICIOUS BazaLoader
Sample 2 99.1% MALICIOUS Latrodectus
Sample 3 95.8% MALICIOUS Latrodectus
Sample 4 95.5% MALICIOUS Latrodectus
Sample 5 95.3% SUSPICIOUS Latrodectus
Reported as Latrodectus, with BazaLoader as its closest sample. All six start with the same generator comment and contain the same number of URLs.
| Attribute | The file A MIPS executable | Sample 1 | Sample 2 | Sample 3 | Sample 4 | Sample 5 | Shared |
|---|---|---|---|---|---|---|---|
| Similarity | the analyzed file | 100.0% | 100.0% | 100.0% | 100.0% | 100.0% | |
| Verdict | MALICIOUS | MALICIOUS | MALICIOUS | MALICIOUS | MALICIOUS | MALICIOUS | |
| Family | Prometei | Prometei (same as the file) | Prometei (same as the file) | Prometei (same as the file) | Prometei (same as the file) | Prometei (same as the file) | 5 of 5 |
| Build ID | 9f5f56bc61c5 | 9f5f56bc61c5 (same as the file) | 9f5f56bc61c5 (same as the file) | 9f5f56bc61c5 (same as the file) | 9f5f56bc61c5 (same as the file) | 9f5f56bc61c5 (same as the file) | 5 of 5 |
| Compiler | GCC: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 | GCC: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 (same as the file) | GCC: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 (same as the file) | GCC: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 (same as the file) | GCC: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 (same as the file) | GCC: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 (same as the file) | 5 of 5 |
| Size | 920,568 bytes | 920,568 bytes (same as the file) | 920,568 bytes (same as the file) | 920,568 bytes (same as the file) | 920,568 bytes (same as the file) | 920,568 bytes (same as the file) | 5 of 5 |
| Sections | 35 | 35 (same as the file) | 35 (same as the file) | 35 (same as the file) | 35 (same as the file) | 35 (same as the file) | 5 of 5 |
Sample 1 100.0% MALICIOUS Prometei
Sample 2 100.0% MALICIOUS Prometei
Sample 3 100.0% MALICIOUS Prometei
Sample 4 100.0% MALICIOUS Prometei
Sample 5 100.0% MALICIOUS Prometei
Reported as Prometei. Its five closest samples share its build ID, compiler and size, each under a different hash.
Linux x86-64 release 2.1.0 with the published models, on 700 files: 300 Windows executables, 150 Linux executables, 200 scripts and documents and 50 containers, half of them malicious. AMD Ryzen 9 9950X3D, 16 cores, cached input, default options, median of three runs.
Run the same SDK connected, on-premises or air-gapped. The difference is where model updates and analyses come from.
Scan engine identifies formats and opens containers
Models installed while scans run
Every scan runs here, with no network
Connected. The SDK gets model updates from the SemanticsAV cloud and sends analysis requests there when your code asks for one.
On-premises. A server inside your network distributes model updates and answers analysis requests. It gets its own model updates online.
Air-gapped. The on-premises server takes model updates as an offline bundle: the packages are downloaded on a PC with internet access and carried in.
Evaluating SemanticsAV is free of charge. You get the SDK, the technical document, sample code and technical support.
SemanticsAV is licensed by OEM or commercial contract.