Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding IQY Scanner #409

Merged
merged 12 commits into from
Nov 4, 2023
Merged

Adding IQY Scanner #409

merged 12 commits into from
Nov 4, 2023

Conversation

phutelmyer
Copy link
Contributor

@phutelmyer phutelmyer commented Nov 3, 2023

Describe the change
This PR introduces a new scanner ScanIqy to target and extract network addresses from IQY (Internet Query) files which are used by Microsoft Excel. This scanner was developed as IQY files have been used to contact suspicious domains to download content. The following has been added to Strelka:

  • ScanIqy scanner, which attempts to extract URLs within IQY files.
  • test_scan_iqy, which is used to validate the IQY and Strelka IOC pipeline.
  • A generic IQY signature taste to identify IQY files

In addition, bug fixes were implemented in this PR to fix preexisting issues with:

  • poetry failed to install dependencies (unknown reason)
  • ScanPcap tests failed to verify (zeek update)

Describe testing procedures

============================= test session starts ==============================
collecting ... collected 1 item

test_scan_iqy.py::test_scan_iqy 

============================== 1 passed in 4.53s ===============================
PASSED                                   [100%]
Process finished with exit code 0

Sample output
ScanIqy output will look like the following:

{
        "elapsed": mock.ANY,
        "flags": [],
        "address_found": True,
        "iocs": [
            {
                "description": "",
                "ioc": "github.com",
                "ioc_type": "domain",
                "scanner": "ScanIqy",
            },
            {
                "description": "",
                "ioc": "https://github.com/target/strelka/blob/master/docs/index.html",
                "ioc_type": "url",
                "scanner": "ScanIqy",
            },
        ],
    }

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of and tested my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@phutelmyer phutelmyer merged commit 01c3ca3 into master Nov 4, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant