Analysis

  • max time kernel
    150s
  • max time network
    156s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31/05/2024, 12:30

General

  • Target
    Majid Z Hacker.exe
  • Size 413KB
  • Sample240531-pphmjahe83
  • SHA256 b29885d1b7a7710d0bb85861609520cc7bd53524ab5525cd9b9c47690f0103a2
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Contains code to disable Windows Defender 1 IoCs

    A .NET executable tasked with disabling Windows Defender capabilities such as realtime monitoring, blocking at first seen, etc.

  • Modifies Windows Defender Real-time Protection settings 3 TTPs 4 IoCs
  • njRAT/Bladabindi

    Widely used RAT written in .NET.

  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 3 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Drops startup file 3 IoCs
  • Executes dropped EXE 2 IoCs
  • UPX packed file 16 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Adds Run key to start application 2 TTPs 3 IoCs
  • Looks up external IP address via web service 2 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • AutoIT Executable 14 IoCs

    AutoIT scripts compiled to PE executables.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 46 IoCs
  • Suspicious use of WriteProcessMemory 51 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Majid Z Hacker.exe
    "C:\Users\Admin\AppData\Local\Temp\Majid Z Hacker.exe"
    1⤵
    • Checks computer location settings
    • Modifies registry class
    • Suspicious use of WriteProcessMemory
    PID:2460
    • C:\Windows\SysWOW64\WScript.exe
      "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\script.vbs"
      2⤵
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:2768
      • C:\Windows\SysWOW64\WScript.exe
        "C:\Windows\SysWOW64\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\script.vbs" /elevate
        3⤵
        • Modifies Windows Defender Real-time Protection settings
        • Checks computer location settings
        • Suspicious use of WriteProcessMemory
        PID:4384
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -DisableRealtimeMonitoring $true
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:3564
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -DisableBehaviorMonitoring $true
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:4732
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -DisableBlockAtFirstSeen $true
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:4228
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -DisableIOAVProtection $true
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:3100
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -DisableScriptScanning $true
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:1664
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -SubmitSamplesConsent 2
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:2752
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -MAPSReporting 0
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:2968
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -HighThreatDefaultAction 6 -Force
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:4680
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -ModerateThreatDefaultAction 6
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:2528
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -LowThreatDefaultAction 6
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:1760
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -SevereThreatDefaultAction 6
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:2804
    • C:\Users\Admin\AppData\Local\Temp\windows registry.exe
      "C:\Users\Admin\AppData\Local\Temp\windows registry.exe"
      2⤵
      • Drops startup file
      • Executes dropped EXE
      • Adds Run key to start application
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:4256
      • C:\Windows\SysWOW64\netsh.exe
        netsh firewall add allowedprogram "C:\Users\Admin\AppData\Local\Temp\windows registry.exe" "windows registry.exe" ENABLE
        3⤵
        • Modifies Windows Firewall
        PID:5704
    • C:\Users\Admin\AppData\Local\Temp\Windows Program.exe
      "C:\Users\Admin\AppData\Local\Temp\Windows Program.exe"
      2⤵
      • Drops startup file
      • Executes dropped EXE
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of WriteProcessMemory
      PID:2608
      • C:\Windows\SysWOW64\WSCript.exe
        WSCript C:\Users\Admin\AppData\Local\Temp\DNLEWE.vbs
        3⤵
          PID:1444
    • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
      "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --field-trial-handle=4428,i,5047420736443372512,9747851268033796534,262144 --variations-seed-version --mojo-platform-channel-handle=2396 /prefetch:8
      1⤵
        PID:4816

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            powershell.exe.log

            • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
            • Size 2KB
            • SHA256 6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
            • MD5 SHA1 SHA512

            StartupProfileData-NonInteractive

            • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
            • Size 18KB
            • SHA256 a948e910770a7d4ad6f02b0b7c5c2545388ed122dc02672662ac3627f1a52488
            • MD5 SHA1 SHA512 SSDEEP

            StartupProfileData-NonInteractive

            • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
            • Size 18KB
            • SHA256 c3193bbcf57ed3e1d6db1502f6b53735ed846f0a5171abede45462132cb3da9c
            • MD5 SHA1 SHA512 SSDEEP

            StartupProfileData-NonInteractive

            • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
            • Size 18KB
            • SHA256 12614810d501bf836392a0d6357ff7a69daea59df6ff4c11b9fb4a6e37787987
            • MD5 SHA1 SHA512 SSDEEP

            StartupProfileData-NonInteractive

            • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
            • Size 18KB
            • SHA256 c4d0adfa97bede5d005544f92aaccce9c4ae102fae15dba0a1e038542e0b886a
            • MD5 SHA1 SHA512 SSDEEP

            StartupProfileData-NonInteractive

            • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
            • Size 18KB
            • SHA256 16826b1e5df4f0e3e6f2e89f35563c57eb84d9af7962661a378288ae703b4b22
            • MD5 SHA1 SHA512 SSDEEP

            DNLEWE.vbs

            • Path C:\Users\Admin\AppData\Local\Temp\DNLEWE.vbs
            • Size 850B
            • SHA256 ba844c991f9fc79f240573cf20e975ac60ae70adc4f45298059e53474df49d1c
            • MD5 SHA1 SHA512

            Windows Program.exe

            • Path C:\Users\Admin\AppData\Local\Temp\Windows Program.exe
            • Size 356KB
            • SHA256 438c6c0291603bd92a66731abcf32e478dc19093c1c0f3c75ee5117192913809
            • MD5 SHA1 SHA512 SSDEEP

            __PSScriptPolicyTest_thvdctmy.uo4.ps1

            • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_thvdctmy.uo4.ps1
            • Size 60B
            • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
            • MD5 SHA1 SHA512

            script.vbs

            • Path C:\Users\Admin\AppData\Local\Temp\script.vbs
            • Size 1KB
            • SHA256 ecd586281fc4655e40108fcf118beeae3411c1c1176951a763e47fb66d2e421f
            • MD5 SHA1 SHA512

            windows registry.exe

            • Path C:\Users\Admin\AppData\Local\Temp\windows registry.exe
            • Size 23KB
            • SHA256 6f788d9f8b51ba8321f1837e02d10c5d94efc74c7be26f734c34a4d602b8d1bc
            • MD5 SHA1 SHA512 SSDEEP

            memory/1664-189-0x000000006DFE0000-0x000000006E02C000-memory.dmp

            memory/1664-264-0x0000000007750000-0x0000000007761000-memory.dmp

            memory/1664-262-0x00000000075C0000-0x00000000075CA000-memory.dmp

            memory/1760-252-0x000000006DFE0000-0x000000006E02C000-memory.dmp

            memory/2528-219-0x000000006DFE0000-0x000000006E02C000-memory.dmp

            memory/2608-251-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-302-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-307-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-306-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-305-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-304-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-303-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-22-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-301-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-300-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-293-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-299-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-297-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-296-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2608-294-0x0000000000400000-0x00000000004CA000-memory.dmp

            memory/2752-209-0x000000006DFE0000-0x000000006E02C000-memory.dmp

            memory/2804-229-0x000000006DFE0000-0x000000006E02C000-memory.dmp

            memory/2968-235-0x0000000008100000-0x000000000877A000-memory.dmp

            memory/2968-179-0x000000006DFE0000-0x000000006E02C000-memory.dmp

            memory/3100-268-0x00000000074E0000-0x00000000074E8000-memory.dmp

            memory/3100-265-0x00000000073F0000-0x00000000073FE000-memory.dmp

            memory/3100-266-0x0000000007400000-0x0000000007414000-memory.dmp

            memory/3100-267-0x0000000007500000-0x000000000751A000-memory.dmp

            memory/3100-169-0x000000006DFE0000-0x000000006E02C000-memory.dmp

            memory/3564-144-0x00000000066C0000-0x00000000066DE000-memory.dmp

            memory/3564-263-0x0000000007C80000-0x0000000007D16000-memory.dmp

            memory/3564-35-0x00000000058A0000-0x0000000005EC8000-memory.dmp

            memory/3564-34-0x0000000005100000-0x0000000005136000-memory.dmp

            memory/3564-145-0x0000000006780000-0x00000000067CC000-memory.dmp

            memory/3564-199-0x000000006DFE0000-0x000000006E02C000-memory.dmp

            memory/4228-158-0x0000000006EE0000-0x0000000006F83000-memory.dmp

            memory/4228-147-0x000000006DFE0000-0x000000006E02C000-memory.dmp

            memory/4228-157-0x0000000006210000-0x000000000622E000-memory.dmp

            memory/4228-146-0x0000000006EA0000-0x0000000006ED2000-memory.dmp

            memory/4256-24-0x0000000073882000-0x0000000073883000-memory.dmp

            memory/4256-25-0x0000000073880000-0x0000000073E31000-memory.dmp

            memory/4256-295-0x0000000073880000-0x0000000073E31000-memory.dmp

            memory/4256-27-0x0000000073880000-0x0000000073E31000-memory.dmp

            memory/4680-241-0x000000006DFE0000-0x000000006E02C000-memory.dmp

            memory/4732-159-0x000000006DFE0000-0x000000006E02C000-memory.dmp

            memory/4732-43-0x0000000005AD0000-0x0000000005B36000-memory.dmp

            memory/4732-49-0x0000000005B40000-0x0000000005E94000-memory.dmp

            memory/4732-42-0x0000000005A60000-0x0000000005AC6000-memory.dmp

            memory/4732-41-0x0000000005330000-0x0000000005352000-memory.dmp

            memory/4732-236-0x0000000007520000-0x000000000753A000-memory.dmp