Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-01-2025 20:46

General

  • Target

    2025-01-30_8c2f86285f5b31faeea42683220f6be9_mafia.exe

  • Size

    12.8MB

  • MD5

    8c2f86285f5b31faeea42683220f6be9

  • SHA1

    720d579154ba157c6c43f1a03204c2eedb4414e0

  • SHA256

    a7b69c17aceb7d0e23f45da66d6947e49543fcb0faad432bb6a45a7ea2593376

  • SHA512

    45f317d7ebbcfe7b1b05f16d8476a17988d14ab805a8a39fbc635ff5a5bed8cc3a4f827f82876ad030b955b3d18997501d5d2fe011ade9cf03b78ec1cf7b295e

  • SSDEEP

    24576:PEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZM:Mfote

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-30_8c2f86285f5b31faeea42683220f6be9_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_8c2f86285f5b31faeea42683220f6be9_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4884
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ofmqipih\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oxrwonie.exe" C:\Windows\SysWOW64\ofmqipih\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ofmqipih binPath= "C:\Windows\SysWOW64\ofmqipih\oxrwonie.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_8c2f86285f5b31faeea42683220f6be9_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3964
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ofmqipih "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ofmqipih
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1364
    • 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:2088
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4884 -s 1044
      2⤵
      • Program crash
      PID:1624
  • C:\Windows\SysWOW64\ofmqipih\oxrwonie.exe
    C:\Windows\SysWOW64\ofmqipih\oxrwonie.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_8c2f86285f5b31faeea42683220f6be9_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4676
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2084
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4676 -s 512
      2⤵
      • Program crash
      PID:1168
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4884 -ip 4884
    1⤵
      PID:1260
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 4676 -ip 4676
      1⤵
        PID:4796

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.0MB

        MD5

        384ee124946d1527131acecf2afaec6c

        SHA1

        bda929f8a354e979ba19250706e8de5ffee1169c

        SHA256

        023aaccd11c6fcbb00167f5840c50855e1a0e6bbf7b6613bc3d6a12d517c2023

        SHA512

        36f12e0a279c44c9f4700f3365d0bc54141ccce902c7f3d9371d8a0694ed7b2410893672df3dfc78bceebcf24eaf513a20d999dda2865c683a14c11eede9699b

      • memory/2084-14-0x00000000001A0000-0x00000000001B5000-memory.dmp

        Filesize

        84KB

      • memory/2084-17-0x00000000001A0000-0x00000000001B5000-memory.dmp

        Filesize

        84KB

      • memory/2084-16-0x00000000001A0000-0x00000000001B5000-memory.dmp

        Filesize

        84KB

      • memory/4676-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4676-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4676-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4676-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4884-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4884-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/4884-1-0x0000000000660000-0x0000000000760000-memory.dmp

        Filesize

        1024KB

      • memory/4884-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4884-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB