Analysis

  • max time kernel
    141s
  • max time network
    141s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220721-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220721-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-08-2022 00:29

General

  • Target

    5b3ed204bf794afc4d32c750e74a219c4730b2a96ded36c6ea2753581158ab11.exe

  • Size

    138KB

  • MD5

    9e23db864b9cc771a31f1ee21d7d418c

  • SHA1

    8f510bac94a035d004d2f995e5ec7d11e48a057c

  • SHA256

    5b3ed204bf794afc4d32c750e74a219c4730b2a96ded36c6ea2753581158ab11

  • SHA512

    d0efd4f3089ad8fcbbe782f49753edf4fee3884ebc82a86c172a5615e0758bdeb030c25468e7b46da1b6668daa7a9f6ee24a8e08a08b29c87edaba0cd7fa7c2d

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) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 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.

  • 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). Likely ransomware behaviour.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5b3ed204bf794afc4d32c750e74a219c4730b2a96ded36c6ea2753581158ab11.exe
    "C:\Users\Admin\AppData\Local\Temp\5b3ed204bf794afc4d32c750e74a219c4730b2a96ded36c6ea2753581158ab11.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3624
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iofhecsb\
      2⤵
        PID:4436
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qgkyokfn.exe" C:\Windows\SysWOW64\iofhecsb\
        2⤵
          PID:316
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create iofhecsb binPath= "C:\Windows\SysWOW64\iofhecsb\qgkyokfn.exe /d\"C:\Users\Admin\AppData\Local\Temp\5b3ed204bf794afc4d32c750e74a219c4730b2a96ded36c6ea2753581158ab11.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:380
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description iofhecsb "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3948
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start iofhecsb
          2⤵
          • Launches sc.exe
          PID:4176
        • 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:4824
      • C:\Windows\SysWOW64\iofhecsb\qgkyokfn.exe
        C:\Windows\SysWOW64\iofhecsb\qgkyokfn.exe /d"C:\Users\Admin\AppData\Local\Temp\5b3ed204bf794afc4d32c750e74a219c4730b2a96ded36c6ea2753581158ab11.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3740
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:1212

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Persistence

      New Service

      1
      T1050

      Modify Existing Service

      1
      T1031

      Registry Run Keys / Startup Folder

      1
      T1060

      Privilege Escalation

      New Service

      1
      T1050

      Defense Evasion

      Modify Registry

      1
      T1112

      Discovery

      Query Registry

      1
      T1012

      System Information Discovery

      2
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        12.5MB

        MD5

        4f0578d49d777b8ffbb2e433608b0616

        SHA1

        07955c8022735c545f9f7541ea063a1f86c25735

        SHA256

        cc5cdad2cf41fad793ba89fcdac815591a0951814e244897592054e91e8f8cd7

        SHA512

        502dc71c91c7fc4a55fde9fc6716600f75194494f84be2b89317471b466c203afae8e79f186004f609937cba9dd80ff1989191d02673b6bca90434db63bb5ade

      • C:\Windows\SysWOW64\iofhecsb\qgkyokfn.exe
        Filesize

        12.5MB

        MD5

        4f0578d49d777b8ffbb2e433608b0616

        SHA1

        07955c8022735c545f9f7541ea063a1f86c25735

        SHA256

        cc5cdad2cf41fad793ba89fcdac815591a0951814e244897592054e91e8f8cd7

        SHA512

        502dc71c91c7fc4a55fde9fc6716600f75194494f84be2b89317471b466c203afae8e79f186004f609937cba9dd80ff1989191d02673b6bca90434db63bb5ade

      • memory/316-132-0x0000000000000000-mapping.dmp
      • memory/380-134-0x0000000000000000-mapping.dmp
      • memory/1212-140-0x0000000000000000-mapping.dmp
      • memory/1212-145-0x00000000004A0000-0x00000000004B5000-memory.dmp
        Filesize

        84KB

      • memory/1212-144-0x00000000004A0000-0x00000000004B5000-memory.dmp
        Filesize

        84KB

      • memory/1212-143-0x00000000004A0000-0x00000000004B5000-memory.dmp
        Filesize

        84KB

      • memory/1212-141-0x00000000004A0000-0x00000000004B5000-memory.dmp
        Filesize

        84KB

      • memory/3624-130-0x0000000000400000-0x0000000000425000-memory.dmp
        Filesize

        148KB

      • memory/3740-139-0x0000000000400000-0x0000000000425000-memory.dmp
        Filesize

        148KB

      • memory/3948-135-0x0000000000000000-mapping.dmp
      • memory/4176-136-0x0000000000000000-mapping.dmp
      • memory/4436-131-0x0000000000000000-mapping.dmp
      • memory/4824-137-0x0000000000000000-mapping.dmp