Skip to content

YARA · WithSecure Labs IOCs

WITHSECURELABS_Andariel_Portscanner_Versioninfo

Detects custom port scanner based on file version info

GenericWithSecure Labs IOCsBSD 2-Clause LicenseCompiles with YARA-X
Author
WithSecure
Date
2026-01-22
Score / Quality
75 / 75

What this rule detects

Detects custom port scanner based on file version info

It has no patterns: the condition alone decides (modules, file properties or other rules). YARA modules used: pe.

Summary generated from the rule's metadata and condition.

Rule source

Includes the imports needed to compile it on its own.

andariel-portscanner-versioninfo.yarBSD 2-Clause License
import "pe"

rule WITHSECURELABS_Andariel_Portscanner_Versioninfo
{
	meta:
		description = "Detects custom port scanner based on file version info"
		author = "WithSecure"
		id = "ffa12319-188e-5050-86b9-6c80575548df"
		date = "2026-01-22"
		modified = "2026-01-22"
		reference = "https://github.com/WithSecureLabs/iocs"
		source_url = "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/Andariel2025/andariel.yara#L106-L114"
		license_url = "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/LICENSE"
		logic_hash = "b7be7cbaeb686c55425695ee324b87c6e01c46c9850cf160025cb5dd8ce7ea1f"
		score = 75
		quality = 75
		tags = ""

	condition:
		pe.version_info[ "InternalName" ] == "PortScan.exe" and pe.version_info [ "ProductName" ] == "Chrome"
}

Condition

pe.version_info[ "InternalName" ] == "PortScan.exe" and pe.version_info [ "ProductName" ] == "Chrome"

In plain words (Heuristic)

  • Uses the pe module.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: WithSecure

Source repository: WithSecure Labs IOCs @ 1a8384468d

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright (c) 2022, WithSecure Oyj

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: ffa12319-188e-5050-86b9-6c80575548df