Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-04-2024 11:13

General

  • Target

    fa2cfe80ce726ca4c7c3ed8013a39903_JaffaCakes118.exe

  • Size

    12.3MB

  • MD5

    fa2cfe80ce726ca4c7c3ed8013a39903

  • SHA1

    f185e4e2c7b0752c38db7f6082142716b886c449

  • SHA256

    be08b1f6756d1985393042730c68972c4e144c7af06c20910b73ac43cea1f38d

  • SHA512

    434b1a78e04bd240548d8bc5c6cd63b5992dcbb08f026b3b8a59e81c8c005e34a2b03aac7bc096270a170c68f83871cc8cf3c87297c4d0cf0916e57d6b0de9bc

  • SSDEEP

    24576:BerU5sWbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb3:BsW

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

  • 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\fa2cfe80ce726ca4c7c3ed8013a39903_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fa2cfe80ce726ca4c7c3ed8013a39903_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4668
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ynbvesnv\
      2⤵
        PID:2256
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\idnqeppx.exe" C:\Windows\SysWOW64\ynbvesnv\
        2⤵
          PID:944
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ynbvesnv binPath= "C:\Windows\SysWOW64\ynbvesnv\idnqeppx.exe /d\"C:\Users\Admin\AppData\Local\Temp\fa2cfe80ce726ca4c7c3ed8013a39903_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4280
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ynbvesnv "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3236
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ynbvesnv
          2⤵
          • Launches sc.exe
          PID:3996
        • 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:4372
      • C:\Windows\SysWOW64\ynbvesnv\idnqeppx.exe
        C:\Windows\SysWOW64\ynbvesnv\idnqeppx.exe /d"C:\Users\Admin\AppData\Local\Temp\fa2cfe80ce726ca4c7c3ed8013a39903_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4628
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:4464

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        edaeeb1c1c5cb0a454a80ffe641a7364

        SHA1

        cc34dd07c1e72c8232c9f850a7fe65c77315c2be

        SHA256

        be76ee2a4c1991332f83e84388041faf65f881cf447739a17090da870b42daca

        SHA512

        0ccaa533095fe61475aabbf072967d29d9d1428650d835c3ea23eb2a90b494fc494ec40308567a9adf2f3ee006911ab1b47e0737455a42a6d73d572a4bfa5c53

      • memory/4464-18-0x0000000000860000-0x0000000000875000-memory.dmp

        Filesize

        84KB

      • memory/4464-17-0x0000000000860000-0x0000000000875000-memory.dmp

        Filesize

        84KB

      • memory/4464-26-0x0000000000860000-0x0000000000875000-memory.dmp

        Filesize

        84KB

      • memory/4464-12-0x0000000000860000-0x0000000000875000-memory.dmp

        Filesize

        84KB

      • memory/4464-15-0x0000000000860000-0x0000000000875000-memory.dmp

        Filesize

        84KB

      • memory/4628-11-0x0000000000400000-0x000000000046D000-memory.dmp

        Filesize

        436KB

      • memory/4628-9-0x00000000004B0000-0x00000000005B0000-memory.dmp

        Filesize

        1024KB

      • memory/4628-10-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

      • memory/4628-19-0x0000000000400000-0x000000000046D000-memory.dmp

        Filesize

        436KB

      • memory/4668-3-0x00000000004F0000-0x0000000000503000-memory.dmp

        Filesize

        76KB

      • memory/4668-2-0x0000000000400000-0x000000000046D000-memory.dmp

        Filesize

        436KB

      • memory/4668-16-0x0000000000400000-0x000000000046D000-memory.dmp

        Filesize

        436KB

      • memory/4668-1-0x0000000000520000-0x0000000000620000-memory.dmp

        Filesize

        1024KB

      • memory/4668-23-0x0000000000520000-0x0000000000620000-memory.dmp

        Filesize

        1024KB

      • memory/4668-4-0x0000000000400000-0x000000000046D000-memory.dmp

        Filesize

        436KB