Analysis

  • max time kernel
    145s
  • max time network
    124s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-02-2025 20:18

General

  • Target

    2025-02-02_70a9b779063ef366ac13e80466ff8958_mafia.exe

  • Size

    15.0MB

  • MD5

    70a9b779063ef366ac13e80466ff8958

  • SHA1

    5a1decdda5efdeee7ec142524899220b03fc5f5a

  • SHA256

    ccc58007409f535edc28572d1bcffa29f79b59aa490dacec2dc1a6993bbf5d94

  • SHA512

    dace2fcbba9d0afa688966af303f7243a5c402a6f0524ae3d99301b133a698ae632d9ce7c719ac1b219a2f60435555e969bf4f39d2483bb3ff81f29660d8c478

  • SSDEEP

    49152:4qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:4qtYc3

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-02-02_70a9b779063ef366ac13e80466ff8958_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_70a9b779063ef366ac13e80466ff8958_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2180
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\juomcfsy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3412
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sedrcmuo.exe" C:\Windows\SysWOW64\juomcfsy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3588
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create juomcfsy binPath= "C:\Windows\SysWOW64\juomcfsy\sedrcmuo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_70a9b779063ef366ac13e80466ff8958_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3960
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description juomcfsy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start juomcfsy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4900
    • 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:3936
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2180 -s 1192
      2⤵
      • Program crash
      PID:1216
  • C:\Windows\SysWOW64\juomcfsy\sedrcmuo.exe
    C:\Windows\SysWOW64\juomcfsy\sedrcmuo.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_70a9b779063ef366ac13e80466ff8958_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2096
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2096 -s 512
      2⤵
      • Program crash
      PID:1244
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2096 -ip 2096
    1⤵
      PID:1016
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 2180 -ip 2180
      1⤵
        PID:3804

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        2e5664311b1a24adbc8f6fa546b308df

        SHA1

        b1abff2e336f79fa96d086f76a2034117a271a06

        SHA256

        73afe44831c19bf3e5d16ebbda17d91e8da4c34b3438aad1c3c615ef24d7e458

        SHA512

        e529912b4a632456c6f81d7d4120fa3ae56baa051d6161f0318025bfd6714d304dc98ae8faa10f99fbcc718b12b3615a58d6662037de2d1702db9a45e332da33

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

        Filesize

        41.8MB

      • memory/2180-1-0x00000000030E0000-0x00000000031E0000-memory.dmp

        Filesize

        1024KB

      • memory/2180-2-0x0000000002FF0000-0x0000000003003000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2180-12-0x0000000002FF0000-0x0000000003003000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB

      • memory/5020-8-0x0000000000C90000-0x0000000000CA5000-memory.dmp

        Filesize

        84KB

      • memory/5020-14-0x0000000000C90000-0x0000000000CA5000-memory.dmp

        Filesize

        84KB

      • memory/5020-15-0x0000000000C90000-0x0000000000CA5000-memory.dmp

        Filesize

        84KB