Analysis

  • max time kernel
    147s
  • max time network
    140s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-01-2025 19:02

General

  • Target

    2025-01-17_5d724bae2123a62b760f822e2ec31aca_mafia.exe

  • Size

    12.7MB

  • MD5

    5d724bae2123a62b760f822e2ec31aca

  • SHA1

    0ef87feda2c7a82422d8d0f6e532f7dcb6626419

  • SHA256

    c19cb57c9b1b07d9fce3b91c332897c54fc4587a6a35cfcf1dad7a472359994b

  • SHA512

    4cf6fc1000cc7b2156ecdbd257537df77cfece6b5d0abd629260a6f265e8b042f5ea800270c6c4ad92536c4ef2fdd90e65744abe946bd313cfbcfb19ed828192

  • SSDEEP

    49152:JqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:JqtYc3

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-17_5d724bae2123a62b760f822e2ec31aca_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-17_5d724bae2123a62b760f822e2ec31aca_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1100
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ugngzzvt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4868
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jsmrjidz.exe" C:\Windows\SysWOW64\ugngzzvt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2604
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ugngzzvt binPath= "C:\Windows\SysWOW64\ugngzzvt\jsmrjidz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-17_5d724bae2123a62b760f822e2ec31aca_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3888
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ugngzzvt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5008
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ugngzzvt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3732
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:1304
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1100 -s 1196
      2⤵
      • Program crash
      PID:5088
  • C:\Windows\SysWOW64\ugngzzvt\jsmrjidz.exe
    C:\Windows\SysWOW64\ugngzzvt\jsmrjidz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-17_5d724bae2123a62b760f822e2ec31aca_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2328
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2328 -s 512
      2⤵
      • Program crash
      PID:4320
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2328 -ip 2328
    1⤵
      PID:2356
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 1100 -ip 1100
      1⤵
        PID:968

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\jsmrjidz.exe

        Filesize

        10.2MB

        MD5

        9b7c823ae2126b55d2c42d2d665d4bdc

        SHA1

        ee5cd33b2668c6a94e2e77750bf5ec88ad6b6856

        SHA256

        ae1cbbf63e6551dacf902fdbe4a640a6a6dcfa180d185e02a6eeab4c9965db75

        SHA512

        e2f63157102151a7370c9b6cf5ec1ebe827410539545b7299db59c19b4c12d3fde482078488ea50cd9a0cc55f49ef21eb9c6b004eb43b6af5701916dabea0a71

      • memory/1100-1-0x0000000002E70000-0x0000000002F70000-memory.dmp

        Filesize

        1024KB

      • memory/1100-2-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

      • memory/1100-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1100-12-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

      • memory/1100-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1100-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/2328-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/3748-8-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB

      • memory/3748-14-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB

      • memory/3748-15-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB