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

    Git Pre-Commit Hook Weaponization

    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/)
    Ethan Andrews@eandrews
    •updated Jun 15, 2026•2•0•10

    Detects the creation or modification of Git pre-commit hooks (.githooks/pre-commit). Contagious Interview actors use this technique to automatically execute malicious code when a target clones and interacts with a compromised repository.

    Microsoft Sentinel (KQL)

    Tags

    TA0002 - ExecutionT1059 - Command and Scripting InterpreterTA0003 - PersistenceG0067 - APT37G0138 - AndarielT1195.002 - Compromise Software Supply ChainTA0001 - Initial AccessFile CreationFile ModificationCommand ExecutionLinuxmacOSWindowsWindows Defender Atpkql

    Found in

    • North Korean Hackers Target Developers with Malicious IDE ToolsLast updated Jun 15, 2026

    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?