Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-02-2025 21:31

General

  • Target

    2025-02-03_cecfedd80e6ce58f5f51f89eede80cb1_mafia.exe

  • Size

    13.7MB

  • MD5

    cecfedd80e6ce58f5f51f89eede80cb1

  • SHA1

    672458345dd8a157144a9a92c9581dc6ed7b38fb

  • SHA256

    49fc37c7bc96e3404766250bc2dcddd9f68affee187305de2d1311d38b01411a

  • SHA512

    be151d034df69a6e200fd0e9dd1bf13fd87d4a96c928aa777d6607c5d5bb75a594c6e5bd5af88d1e43c558bd75b12eab61843d43921d15e89894c6a535e182ff

  • SSDEEP

    6144:7LQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ9:QTYe+D2jFu+iZoUFhAz

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-03_cecfedd80e6ce58f5f51f89eede80cb1_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_cecfedd80e6ce58f5f51f89eede80cb1_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4608
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fzsjgrka\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mggxirik.exe" C:\Windows\SysWOW64\fzsjgrka\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fzsjgrka binPath= "C:\Windows\SysWOW64\fzsjgrka\mggxirik.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_cecfedd80e6ce58f5f51f89eede80cb1_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1300
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fzsjgrka "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fzsjgrka
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3308
    • 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:1748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4608 -s 1036
      2⤵
      • Program crash
      PID:3356
  • C:\Windows\SysWOW64\fzsjgrka\mggxirik.exe
    C:\Windows\SysWOW64\fzsjgrka\mggxirik.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_cecfedd80e6ce58f5f51f89eede80cb1_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3988
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2196
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3988 -s 528
      2⤵
      • Program crash
      PID:3612
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4608 -ip 4608
    1⤵
      PID:1588
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3988 -ip 3988
      1⤵
        PID:3788

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        7266cf751652785ab796745f13aca2d2

        SHA1

        09b6154faa0ec98c633a0a5e5aab285e7cc5dcaf

        SHA256

        2f5024652465ac3cdbd200287b9b6cd59d36f5452765e9dc0e8765f3ffe8921e

        SHA512

        1092fac84a260adecfb28ad34f6c59dcb84088f442f29772275da182c034c66bae968cfe0ebd9a57a8f54dc66428a0401468745e9987ac27f04145cbe9e99c38

      • memory/2196-13-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

        Filesize

        84KB

      • memory/2196-19-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

        Filesize

        84KB

      • memory/2196-21-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

        Filesize

        84KB

      • memory/2196-20-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

        Filesize

        84KB

      • memory/2196-10-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

        Filesize

        84KB

      • memory/3988-15-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3988-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3988-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/4608-17-0x0000000000800000-0x0000000000813000-memory.dmp

        Filesize

        76KB

      • memory/4608-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4608-16-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4608-1-0x0000000000880000-0x0000000000980000-memory.dmp

        Filesize

        1024KB

      • memory/4608-2-0x0000000000800000-0x0000000000813000-memory.dmp

        Filesize

        76KB