Analysis

  • max time kernel
    149s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-08-2024 15:06

General

  • Target

    9d4f75a0010bb641b3429acee75c668c42b991c897a80d6ac4ffe84f2cea44c0.exe

  • Size

    10.9MB

  • MD5

    8ef57b0ee52ad8d343c5febce2c3caf3

  • SHA1

    944e9be261db19754da9c1a097c7ac05f42fb7e9

  • SHA256

    9d4f75a0010bb641b3429acee75c668c42b991c897a80d6ac4ffe84f2cea44c0

  • SHA512

    630fa92ce62e6c9c0e8a6bdda757719c08d9344df5dfbe9867fa775e2d1f71e480e4fd4f6e9d386700f8caefda4577ab230295c209615df493d86c4411dbeb65

  • SSDEEP

    24576:3AWcGx111111111111111111111111111111111111111111111111111111111X:3HH

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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.

  • 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\9d4f75a0010bb641b3429acee75c668c42b991c897a80d6ac4ffe84f2cea44c0.exe
    "C:\Users\Admin\AppData\Local\Temp\9d4f75a0010bb641b3429acee75c668c42b991c897a80d6ac4ffe84f2cea44c0.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\knvweicj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:8
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wbxpnqc.exe" C:\Windows\SysWOW64\knvweicj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3540
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create knvweicj binPath= "C:\Windows\SysWOW64\knvweicj\wbxpnqc.exe /d\"C:\Users\Admin\AppData\Local\Temp\9d4f75a0010bb641b3429acee75c668c42b991c897a80d6ac4ffe84f2cea44c0.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1020
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description knvweicj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start knvweicj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4112
    • 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:1624
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2564 -s 1260
      2⤵
      • Program crash
      PID:4472
  • C:\Windows\SysWOW64\knvweicj\wbxpnqc.exe
    C:\Windows\SysWOW64\knvweicj\wbxpnqc.exe /d"C:\Users\Admin\AppData\Local\Temp\9d4f75a0010bb641b3429acee75c668c42b991c897a80d6ac4ffe84f2cea44c0.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1956
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4008
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1956 -s 512
      2⤵
      • Program crash
      PID:2676
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2564 -ip 2564
    1⤵
      PID:3348
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 1956 -ip 1956
      1⤵
        PID:4184

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        ec64cc3d28fa5462ea2b192ce666cec8

        SHA1

        162129c35d52036e055479d2ee9072359e352756

        SHA256

        ce9d0803daec7ffc2475308187a58a1841de8ec9e2265dfd4dd856bbf252e2b9

        SHA512

        a3b2a22e66732cad63a348838cc803bc1be0409204b9a360feaab4c5155479a231c2238633e69a552e3838457b9c8ef606cff31c84b1e8cb348959886887bb6a

      • memory/1956-8-0x00007FF9C6930000-0x00007FF9C6B25000-memory.dmp

        Filesize

        2.0MB

      • memory/1956-13-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/2564-1-0x00007FF9C6930000-0x00007FF9C6B25000-memory.dmp

        Filesize

        2.0MB

      • memory/2564-7-0x00007FF9C6930000-0x00007FF9C6B25000-memory.dmp

        Filesize

        2.0MB

      • memory/2564-6-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/4008-11-0x0000000000D30000-0x0000000000D45000-memory.dmp

        Filesize

        84KB

      • memory/4008-9-0x0000000000D30000-0x0000000000D45000-memory.dmp

        Filesize

        84KB

      • memory/4008-12-0x0000000000D30000-0x0000000000D45000-memory.dmp

        Filesize

        84KB