Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2024 19:39

General

  • Target

    2024-12-30_e67efd20277e5a3049ad251227556ff5_mafia.exe

  • Size

    12.6MB

  • MD5

    e67efd20277e5a3049ad251227556ff5

  • SHA1

    6952895fdd8da9e8956718bdd0f330ca4b2f96ec

  • SHA256

    1d9218e0d25b5e74a489f12c20e61fcfd1a8d38aaa88e54c116f1af3f0653c14

  • SHA512

    2941ef23646633978b6ab614962c862dbdadc64fc1a510fbad972c1fcef62e3490eca7a3b031b04a2bedd9b9a683040efda9ca259927f85af19a798bd203a60b

  • SSDEEP

    3072:4LBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:1OMdRQr7OB0ypmMXnl8XEPM3noSWOC

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\2024-12-30_e67efd20277e5a3049ad251227556ff5_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-30_e67efd20277e5a3049ad251227556ff5_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4480
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hwkigoze\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1392
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\miaaxmlz.exe" C:\Windows\SysWOW64\hwkigoze\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:180
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hwkigoze binPath= "C:\Windows\SysWOW64\hwkigoze\miaaxmlz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-30_e67efd20277e5a3049ad251227556ff5_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3540
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hwkigoze "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4680
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hwkigoze
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:704
    • 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:2136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4480 -s 584
      2⤵
      • Program crash
      PID:2464
  • C:\Windows\SysWOW64\hwkigoze\miaaxmlz.exe
    C:\Windows\SysWOW64\hwkigoze\miaaxmlz.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-30_e67efd20277e5a3049ad251227556ff5_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3156
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5096
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3156 -s 512
      2⤵
      • Program crash
      PID:4024
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4480 -ip 4480
    1⤵
      PID:4716
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3156 -ip 3156
      1⤵
        PID:2712

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.7MB

        MD5

        7dbec197ff6c85129a5a5e72e1027316

        SHA1

        29515c8cb04f108bbe3638e76f08e561f77efaad

        SHA256

        44a32332833a67040434615ddcd3b9d1b6c6128ebcef49997b91ffd1bd806fbe

        SHA512

        712871247e12bb18429987c0e9edf0c49fa36e2650ae98ff7cc231ca2932fd28b1853d8361f462e29dd16ba5c08f60a5ed6da2615bfac05f5152ccb00d4d02da

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4480-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4480-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4480-1-0x0000000000640000-0x0000000000740000-memory.dmp

        Filesize

        1024KB

      • memory/5096-14-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/5096-16-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/5096-17-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB