Analysis

  • max time kernel
    167s
  • max time network
    176s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-07-2024 21:37

General

  • Target

    2024-07-01_c2b875ec37a9272c9f6913e5e51c8c2f_mafia.exe

  • Size

    13.8MB

  • MD5

    c2b875ec37a9272c9f6913e5e51c8c2f

  • SHA1

    25f1fcfd9bf08b879bb1fd13a42578e72cc3ad98

  • SHA256

    bb07448d9a17097cf6476c0adc3b3443d942b30049de82590351b66fccacb4ca

  • SHA512

    6c285a552db5de631f5e293292c4bcd426fb982579113c4817c84d9d9a72702cf7038d62b3c3ec1814c6bb1ef0a99f5603dd92e31d5ed89f0f163855e0759350

  • SSDEEP

    6144:x+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:x+r1IeSXMXc7LlxWV4Ug97GZ+ej

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.

  • 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.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-07-01_c2b875ec37a9272c9f6913e5e51c8c2f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-07-01_c2b875ec37a9272c9f6913e5e51c8c2f_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1168
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gfjslqic\
      2⤵
        PID:4400
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lowwuswf.exe" C:\Windows\SysWOW64\gfjslqic\
        2⤵
          PID:3864
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gfjslqic binPath= "C:\Windows\SysWOW64\gfjslqic\lowwuswf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-07-01_c2b875ec37a9272c9f6913e5e51c8c2f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1420
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gfjslqic "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4396
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gfjslqic
          2⤵
          • Launches sc.exe
          PID:4944
        • 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
          PID:5076
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=1408 --field-trial-handle=2744,i,16362475727591565961,3676688664819797550,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:868
        • C:\Windows\SysWOW64\gfjslqic\lowwuswf.exe
          C:\Windows\SysWOW64\gfjslqic\lowwuswf.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-07-01_c2b875ec37a9272c9f6913e5e51c8c2f_mafia.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:2180
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe
            2⤵
            • Sets service image path in registry
            • Deletes itself
            PID:3960

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\Users\Admin\AppData\Local\Temp\lowwuswf.exe
          Filesize

          11.9MB

          MD5

          9f32e0057fe2f1526cff6ecae3530a51

          SHA1

          a1b07548067f032d46ed73cb3a1795f2c3797b84

          SHA256

          385e43deb20209c68602820858743dabce8751789dce9e9506eb5137d9e2b3cc

          SHA512

          b2cbbc2a0ca58bd44da2ba26f2a7c21b9a4a164959575991f5377c18c9a3ca58de56b0648adaa671c80305344b97eec5009d7a601e956b74dc9a2c2116f10b81

        • memory/1168-15-0x0000000000400000-0x000000000051A000-memory.dmp
          Filesize

          1.1MB

        • memory/1168-9-0x0000000000400000-0x0000000000415000-memory.dmp
          Filesize

          84KB

        • memory/1168-1-0x0000000000570000-0x0000000000670000-memory.dmp
          Filesize

          1024KB

        • memory/1168-7-0x0000000000570000-0x0000000000670000-memory.dmp
          Filesize

          1024KB

        • memory/1168-3-0x0000000000400000-0x0000000000415000-memory.dmp
          Filesize

          84KB

        • memory/1168-2-0x0000000000400000-0x000000000051A000-memory.dmp
          Filesize

          1.1MB

        • memory/1168-16-0x0000000000400000-0x0000000000415000-memory.dmp
          Filesize

          84KB

        • memory/1168-5-0x0000000000400000-0x000000000051A000-memory.dmp
          Filesize

          1.1MB

        • memory/2180-20-0x0000000000400000-0x000000000051A000-memory.dmp
          Filesize

          1.1MB

        • memory/2180-19-0x0000000000400000-0x000000000051A000-memory.dmp
          Filesize

          1.1MB

        • memory/2180-23-0x0000000000400000-0x000000000051A000-memory.dmp
          Filesize

          1.1MB

        • memory/3960-21-0x0000000000480000-0x0000000000495000-memory.dmp
          Filesize

          84KB

        • memory/3960-25-0x0000000000480000-0x0000000000495000-memory.dmp
          Filesize

          84KB

        • memory/3960-26-0x0000000000480000-0x0000000000495000-memory.dmp
          Filesize

          84KB

        • memory/3960-27-0x0000000000480000-0x0000000000495000-memory.dmp
          Filesize

          84KB

        • memory/3960-28-0x0000000000480000-0x0000000000495000-memory.dmp
          Filesize

          84KB

        • memory/3960-29-0x0000000000480000-0x0000000000495000-memory.dmp
          Filesize

          84KB