Cylance, I Kill You!
The researchers reverse engineered Cylance's AI antivirus scoring engine and found it relies heavily on string-based features, with a strong bias toward strings from a specific video game. By appending a list of strings from that game's executable to malicious files, they could flip the score from strongly malicious to strongly benign and evade detection.
skylightcyber.com
Published on skylightcyber.com
We had the honour to present our findings in today’s BSides Sydney (Slides). We took this opportunity to make some of the yet unpublished materials public.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the model's feature extraction weighted string content so heavily, and was so biased toward strings from a whitelisted game family, that appending those strings dominated the score.
Impact
The bypass worked for 100% of the top 10 malware for May 2019 and close to 90% of a larger sample of 384 malware, and as of the update it was still exploitable on the home edition while the vendor said the enterprise edition was fixed.
What the attacker needed
Cylance home edition installed; Ability to modify the malicious file; Strings from the biased game executable
The fix
The vendor stated the enterprise edition was fixed, but the researchers could not verify it and the home edition remained exploitable.
How it was found
- Enable verbose logging to see the engine's score for a file
- Reverse engineer the scoring assemblies and load the model to call the scoring function directly
- Decrypt and parse the model data to find string hashes and the whitelisted centroid names
- Extract strings from the named game's executable
- Append those strings to a malicious file and re-score it
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
An antivirus product here uses a machine learning model to decide if a file is bad. The researchers worked out which simple properties of a file, in this case text strings inside it, push the model's decision. They then added harmless strings from a popular game to malware so the model saw it as safe.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.