Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26/05/2024, 03:49

General

  • Target
    2024-05-26_a9a4949fb754d99bc69284cb1cf8c39f_mafia.exe
  • Size 4.1MB
  • Sample240526-edp75aee96
  • SHA256 4d770a637191881ffccb789f004cd0402ac26c53da7d309a58c50926f873eda7
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Disables service(s) 3 TTPs
  • Detects executables containing possible sandbox analysis VM usernames 1 IoCs
  • Blocklisted process makes network request 1 IoCs
  • Stops running service(s) 4 TTPs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 3 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Enumerates connected drives 3 TTPs 2 IoCs

    Attempts to read the root path of hard drives other than the default C: drive.

  • Drops file in System32 directory 3 IoCs
  • Drops file in Program Files directory 1 IoCs
  • Launches sc.exe 7 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Modifies registry class 24 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 14 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious behavior: RenamesItself 1 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 57 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-05-26_a9a4949fb754d99bc69284cb1cf8c39f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-05-26_a9a4949fb754d99bc69284cb1cf8c39f_mafia.exe"
    1⤵
    • Drops file in System32 directory
    • Suspicious behavior: RenamesItself
    • Suspicious use of WriteProcessMemory
    PID:1192
    • C:\Windows\SysWOW64\system.exe
      C:\Windows\system32\system.exe
      2⤵
      • Executes dropped EXE
      • Drops file in System32 directory
      • Suspicious use of WriteProcessMemory
      PID:228
      • C:\Windows\SysWOW64\Rundll32.exe
        Rundll32 C:\Windows\system32\kkbemgaa.dll Exbcute
        3⤵
        • Checks computer location settings
        • Loads dropped DLL
        • Drops file in Program Files directory
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of WriteProcessMemory
        PID:4124
        • C:\Windows\SysWOW64\net.exe
          net stop WinDefend
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:4756
          • C:\Windows\SysWOW64\net1.exe
            C:\Windows\system32\net1 stop WinDefend
            5⤵
              PID:1224
          • C:\Windows\SysWOW64\net.exe
            net stop MpsSvc
            4⤵
            • Suspicious use of WriteProcessMemory
            PID:3412
            • C:\Windows\SysWOW64\net1.exe
              C:\Windows\system32\net1 stop MpsSvc
              5⤵
                PID:5068
            • C:\Windows\SysWOW64\sc.exe
              sc config WinDefend start= disabled
              4⤵
              • Launches sc.exe
              PID:4344
            • C:\Windows\SysWOW64\sc.exe
              sc config MpsSvc start= disabled
              4⤵
              • Launches sc.exe
              PID:4396
            • C:\Windows\SysWOW64\sc.exe
              sc stop ZhuDongFangYu
              4⤵
              • Launches sc.exe
              PID:3432
            • C:\Windows\SysWOW64\sc.exe
              sc delete ZhuDongFangYu
              4⤵
              • Launches sc.exe
              PID:2600
            • C:\Windows\SysWOW64\sc.exe
              sc stop 360rp
              4⤵
              • Launches sc.exe
              PID:4672
            • C:\Windows\SysWOW64\sc.exe
              sc delete 360rp
              4⤵
              • Launches sc.exe
              PID:4048
            • C:\Windows\SysWOW64\sc.exe
              "C:\Windows\System32\sc.exe" stop PolicyAgent
              4⤵
              • Launches sc.exe
              PID:4928
          • C:\Windows\SysWOW64\Rundll32.exe
            Rundll32 C:\Windows\system32\hhffmgaa.dll Exbcute
            3⤵
            • Blocklisted process makes network request
            • Loads dropped DLL
            • Adds Run key to start application
            • Enumerates connected drives
            PID:3112
        • C:\Users\Admin\AppData\Local\Temp\2024-05-26_a9a4949fb754d99bc69284cb1cf8c39f_mafia.exe
          C:\Users\Admin\AppData\Local\Temp\2024-05-26_a9a4949fb754d99bc69284cb1cf8c39f_mafia.exe
          2⤵
          • Executes dropped EXE
          • Modifies registry class
          • Suspicious use of FindShellTrayWindow
          • Suspicious use of SetWindowsHookEx
          PID:768

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            2024-05-26_a9a4949fb754d99bc69284cb1cf8c39f_mafia.exe

            • Path C:\Users\Admin\AppData\Local\Temp\2024-05-26_a9a4949fb754d99bc69284cb1cf8c39f_mafia.exe
            • Size 3.9MB
            • SHA256 fa7395c12fc23dd922def2b3bcbeb1d94cbda10a09a176001199f15774026c24
            • MD5 SHA1 SHA512 SSDEEP

            590D.tmp

            • Path C:\Users\Admin\AppData\Local\Temp\590D.tmp
            • Size 4.3MB
            • SHA256 58280e3572333f97a7cf9f33e8d31dc26a98b6535965ebd0bde82249fc9bf705
            • MD5 SHA1 SHA512 SSDEEP

            hhffmgaa.dll

            • Path C:\Windows\SysWOW64\hhffmgaa.dll
            • Size 24KB
            • SHA256 adc6b3bbd691387198f597c9228df74138ed601804ff35d0e78e08cb8bb24aac
            • MD5 SHA1 SHA512 SSDEEP

            kkbemgaa.dll

            • Path C:\Windows\SysWOW64\kkbemgaa.dll
            • Size 75KB
            • SHA256 c00834615d7d447d3f9c9803ddf8ed0ced42451170ba930146d04f18d2d880dc
            • MD5 SHA1 SHA512 SSDEEP

            system.exe

            • Path C:\Windows\SysWOW64\system.exe
            • Size 144KB
            • SHA256 894aa909df1f26bee14c9f66efd1e9d7a173967b83ee9040d939ce8d448062c7
            • MD5 SHA1 SHA512 SSDEEP

            memory/1192-1-0x0000000000B30000-0x0000000000F4D000-memory.dmp

            memory/1192-9-0x0000000001420000-0x0000000001421000-memory.dmp