Analysis

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

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-06-2024 10:37

General

  • Target

    9484d5c263bbb436280dc8c8c1872e44_JaffaCakes118.exe

  • Size

    142KB

  • MD5

    9484d5c263bbb436280dc8c8c1872e44

  • SHA1

    a7e0a7a440f7fdb7f59bfc02a3fd5a01391e9786

  • SHA256

    4a65362140edf6266596e78a1b3617381d9e6654310eee10aa5206e364b73bc7

  • SHA512

    230774d0112ea62d6821d9672a8906be05251018e9ef193c5695c72afd409e8b718e95c7d4645b2317346d2484852ab47157a4b046ba10aa2114af8ff816c99a

  • SSDEEP

    3072:NO8/FLfg16rzTkYfiL2+jKfgi4m5nuGFU6W6WNE6b3A:X9rzwFLnKP46uC

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\9484d5c263bbb436280dc8c8c1872e44_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\9484d5c263bbb436280dc8c8c1872e44_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:552
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\diqctqpw\
      2⤵
        PID:532
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\snrtwfeq.exe" C:\Windows\SysWOW64\diqctqpw\
        2⤵
          PID:3172
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create diqctqpw binPath= "C:\Windows\SysWOW64\diqctqpw\snrtwfeq.exe /d\"C:\Users\Admin\AppData\Local\Temp\9484d5c263bbb436280dc8c8c1872e44_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3224
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description diqctqpw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4844
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start diqctqpw
          2⤵
          • Launches sc.exe
          PID:3000
        • 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
          PID:4200
      • C:\Windows\SysWOW64\diqctqpw\snrtwfeq.exe
        C:\Windows\SysWOW64\diqctqpw\snrtwfeq.exe /d"C:\Users\Admin\AppData\Local\Temp\9484d5c263bbb436280dc8c8c1872e44_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2256
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1540

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        563b18656515bc4ca79a85ff88041304

        SHA1

        5ce1b6a4784568b73e79b33aea1ebde46e1861ad

        SHA256

        b205bfb44882ed92257e94b2141f1e5d9818a033102e9ec3e2c794792fdc1826

        SHA512

        bf105f7a7118d6701c61beaaa8a784c42a344be04f6a06912f5add8317b2c8e403ac831ca56fc0189eca3f50b362aea5f276d2b6711dbeca7dbe57d920747c13

      • memory/552-2-0x00000000005E0000-0x00000000005E1000-memory.dmp

        Filesize

        4KB

      • memory/552-1-0x00000000005D0000-0x00000000005D1000-memory.dmp

        Filesize

        4KB

      • memory/552-0-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB

      • memory/552-6-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB

      • memory/1540-8-0x0000000000B60000-0x0000000000B75000-memory.dmp

        Filesize

        84KB

      • memory/1540-11-0x0000000000B60000-0x0000000000B75000-memory.dmp

        Filesize

        84KB

      • memory/1540-13-0x0000000000B60000-0x0000000000B75000-memory.dmp

        Filesize

        84KB

      • memory/1540-14-0x0000000000B60000-0x0000000000B75000-memory.dmp

        Filesize

        84KB

      • memory/1540-15-0x0000000000B60000-0x0000000000B75000-memory.dmp

        Filesize

        84KB

      • memory/2256-7-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB

      • memory/2256-12-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB