Analysis

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

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

General

  • Target

    2025-02-01_1a2bdbcde1923aadc9e8ee75d33e78ba_mafia.exe

  • Size

    14.6MB

  • MD5

    1a2bdbcde1923aadc9e8ee75d33e78ba

  • SHA1

    a6888eb7a394e8ffcf897aca153c6b10a7a98d85

  • SHA256

    003b168c37c2021abf8ab1633c3c633f460cc992bd9d4119adc7f68268b5e281

  • SHA512

    1e8d740dc793a4913a252247683c1239fa2400ec1ab7ecc3aa1f4fa36eeaab151460acec08971321b3deff5cf837e3bb1ab3194f3f98eaa7474660e8e468e73a

  • SSDEEP

    3072:gLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:9OMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-01_1a2bdbcde1923aadc9e8ee75d33e78ba_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_1a2bdbcde1923aadc9e8ee75d33e78ba_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fduevisv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:224
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zqywgbiw.exe" C:\Windows\SysWOW64\fduevisv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2280
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fduevisv binPath= "C:\Windows\SysWOW64\fduevisv\zqywgbiw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_1a2bdbcde1923aadc9e8ee75d33e78ba_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4596
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fduevisv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4668
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fduevisv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4696
    • 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:3684
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3672 -s 1236
      2⤵
      • Program crash
      PID:8
  • C:\Windows\SysWOW64\fduevisv\zqywgbiw.exe
    C:\Windows\SysWOW64\fduevisv\zqywgbiw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_1a2bdbcde1923aadc9e8ee75d33e78ba_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4220
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:724
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4220 -s 512
      2⤵
      • Program crash
      PID:3540
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3672 -ip 3672
    1⤵
      PID:1340
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 4220 -ip 4220
      1⤵
        PID:936

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        e14bd8212b23187c852050e57cd14f1b

        SHA1

        ecacc7a7dabd107cebb6794c89c41569576d17c6

        SHA256

        60116ccd9a16d8e7ebc339e89fb522dd54ef58fb77f0f348e4efbe82376f38c1

        SHA512

        d6fe27101ec43543b7cf49cccf45ab781d2959a08b2ad37b9f9b50158165e16f2163632add2b9c25cb773d320eb8da08f0b65c6c4ef70fb50f7616e15560b22b

      • memory/724-14-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/724-16-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/724-17-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3672-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3672-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/3672-1-0x0000000000460000-0x0000000000560000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4220-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB