Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15-04-2024 16:22

General

  • Target

    f17afb5f20aa53a7c7ffdb7f03fde7fc_JaffaCakes118.exe

  • Size

    12.1MB

  • MD5

    f17afb5f20aa53a7c7ffdb7f03fde7fc

  • SHA1

    7cdf905690e6c242fda8d6a4882294c65c6f649c

  • SHA256

    a8cc9358a6bb7013fdc8abf9a1371c7b22a3b7311eec92dae140c844463d95bd

  • SHA512

    266dd4974d978144e8045b292bff3f61ee268105c2c92919ec4cc60358e42a1f40fb4c5bb3307accf1c2decbe935fddaf912c92492868ea5603384b4cc2db712

  • SSDEEP

    24576:+jDuKnh7YzbKBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBn:+nh

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\f17afb5f20aa53a7c7ffdb7f03fde7fc_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f17afb5f20aa53a7c7ffdb7f03fde7fc_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lsjelkve\
      2⤵
        PID:3516
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sncmrwom.exe" C:\Windows\SysWOW64\lsjelkve\
        2⤵
          PID:4012
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lsjelkve binPath= "C:\Windows\SysWOW64\lsjelkve\sncmrwom.exe /d\"C:\Users\Admin\AppData\Local\Temp\f17afb5f20aa53a7c7ffdb7f03fde7fc_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4020
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lsjelkve "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2924
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lsjelkve
          2⤵
          • Launches sc.exe
          PID:2892
        • 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:1620
      • C:\Windows\SysWOW64\lsjelkve\sncmrwom.exe
        C:\Windows\SysWOW64\lsjelkve\sncmrwom.exe /d"C:\Users\Admin\AppData\Local\Temp\f17afb5f20aa53a7c7ffdb7f03fde7fc_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4736
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:2872

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        22cf17a8970e4916308a6fed85fe43ae

        SHA1

        087d2e069915c846e2f3278b9431c39a56e877a7

        SHA256

        1f4b1b1aad89cdec28cc40efca15cde771eeca97bc6c4d79ee87f65b99242a3f

        SHA512

        ccdbf5ce47f162bcdc4b6f59d79ad54aee92a1abece1760af4c1ac559e6c8328fd2c1cbd141624d4d79d31407ab2f748c98439aaed1c27295ac6786155159ff7

      • memory/876-15-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/876-2-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

      • memory/876-1-0x00000000005B0000-0x00000000006B0000-memory.dmp

        Filesize

        1024KB

      • memory/876-23-0x00000000005B0000-0x00000000006B0000-memory.dmp

        Filesize

        1024KB

      • memory/876-4-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2872-17-0x0000000000B00000-0x0000000000B15000-memory.dmp

        Filesize

        84KB

      • memory/2872-11-0x0000000000B00000-0x0000000000B15000-memory.dmp

        Filesize

        84KB

      • memory/2872-14-0x0000000000B00000-0x0000000000B15000-memory.dmp

        Filesize

        84KB

      • memory/2872-16-0x0000000000B00000-0x0000000000B15000-memory.dmp

        Filesize

        84KB

      • memory/2872-25-0x0000000000B00000-0x0000000000B15000-memory.dmp

        Filesize

        84KB

      • memory/4736-9-0x00000000004E0000-0x00000000004F3000-memory.dmp

        Filesize

        76KB

      • memory/4736-10-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/4736-18-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/4736-8-0x0000000000610000-0x0000000000710000-memory.dmp

        Filesize

        1024KB