• CommunityEnterprisePlans
  • Intel Exchange
    Intel ExchangeDetections
  • Resources
  • About
  • Leaderboard
Join CommunitySign In
    All Detections

    PowerShell Test-NetConnection internal port sweep logging to wserv.log

    avatar
    GlassDiceBearhttps://www.dicebear.comhttps://creativecommons.org/publicdomain/zero/1.0/„Glass” (https://www.dicebear.com) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)
    Arnold Chan@slaz
    •updated 19 days ago•0•0•1

    Detects PowerShell execution performing port checks across multiple internal hosts using Test-NetConnection in a looping construct with output redirected to a log file, indicative of post-compromise reconnaissance (such as LONEPAGE scanning).

    Microsoft Sentinel (KQL)

    Tags

    T1059.001 - PowerShellT1046 - Network Service DiscoveryTA0002 - ExecutionTA0007 - DiscoveryProcess CreationCommand ExecutionScript ExecutionPowershell Script ExecutionNetwork Scan DetectedWindowsWindows Eventlog SecurityWindows Eventlog Powershellkql

    Found in

    • Evolution of UAC-0099 MATCHBOIL Malware OperationsLast updated 18 days ago
    • Evolution of UAC-0099 MATCHBOIL Malware OperationsLast updated 19 days ago
    • Evolution of UAC-0099 MATCHBOIL Malware OperationsLast updated 19 days ago
    • Evolution of UAC-0099 MATCHBOIL Malware OperationsLast updated 19 days ago
    • Evolution of UAC-0099 MATCHBOIL Malware OperationsLast updated 19 days ago

    Community Inspired.
    AI Enhanced.
    Better Detections.

    Follow Us

    Company

    • About
    • Leaderboard

    Product

    • Community
    • Enterprise
    • Plans

    © 2026 Copyright. All Rights Reserved.

    Privacy PolicyTerms of Service

    Sign up to view this detection

    or

    Already have an account?