mirror of
https://github.com/mandiant/capa.git
synced 2025-12-22 07:10:29 -08:00
Merge branch 'mandiant:master' into main
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
### Breaking Changes
|
### Breaking Changes
|
||||||
|
|
||||||
### New Rules (12)
|
### New Rules (20)
|
||||||
|
|
||||||
- persistence/scheduled-tasks/schedule-task-via-at joren485
|
- persistence/scheduled-tasks/schedule-task-via-at joren485
|
||||||
- data-manipulation/prng/generate-random-numbers-via-rtlgenrandom william.ballenthin@mandiant.com
|
- data-manipulation/prng/generate-random-numbers-via-rtlgenrandom william.ballenthin@mandiant.com
|
||||||
@@ -20,6 +20,14 @@
|
|||||||
- nursery/get-http-request-uri william.ballenthin@mandiant.com
|
- nursery/get-http-request-uri william.ballenthin@mandiant.com
|
||||||
- nursery/create-zip-archive-in-dotnet michael.hunhoff@mandiant.com
|
- nursery/create-zip-archive-in-dotnet michael.hunhoff@mandiant.com
|
||||||
- nursery/extract-zip-archive-in-dotnet anushka.virgaonkar@mandiant.com michael.hunhoff@mandiant.com
|
- nursery/extract-zip-archive-in-dotnet anushka.virgaonkar@mandiant.com michael.hunhoff@mandiant.com
|
||||||
|
- data-manipulation/encryption/tea/decrypt-data-using-tea william.ballenthin@mandiant.com raymond.leong@mandiant.com
|
||||||
|
- data-manipulation/encryption/tea/encrypt-data-using-tea william.ballenthin@mandiant.com raymond.leong@mandiant.com
|
||||||
|
- data-manipulation/encryption/xtea/encrypt-data-using-xtea raymond.leong@mandiant.com
|
||||||
|
- data-manipulation/encryption/xxtea/encrypt-data-using-xxtea raymond.leong@mandiant.com
|
||||||
|
- nursery/hash-data-using-ripemd128 raymond.leong@mandiant.com
|
||||||
|
- nursery/hash-data-using-ripemd256 raymond.leong@mandiant.com
|
||||||
|
- nursery/hash-data-using-ripemd320 raymond.leong@mandiant.com
|
||||||
|
- nursery/set-web-proxy-in-dotnet michael.hunhoff@mandiant.com
|
||||||
-
|
-
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[](https://pypi.org/project/flare-capa)
|
[](https://pypi.org/project/flare-capa)
|
||||||
[](https://github.com/mandiant/capa/releases)
|
[](https://github.com/mandiant/capa/releases)
|
||||||
[](https://github.com/mandiant/capa-rules)
|
[](https://github.com/mandiant/capa-rules)
|
||||||
[](https://github.com/mandiant/capa/actions?query=workflow%3ACI+event%3Apush+branch%3Amaster)
|
[](https://github.com/mandiant/capa/actions?query=workflow%3ACI+event%3Apush+branch%3Amaster)
|
||||||
[](https://github.com/mandiant/capa/releases)
|
[](https://github.com/mandiant/capa/releases)
|
||||||
[](LICENSE.txt)
|
[](LICENSE.txt)
|
||||||
|
|||||||
2
rules
2
rules
Submodule rules updated: 5351554ff9...8310355528
@@ -59,9 +59,9 @@ def main():
|
|||||||
gc.collect()
|
gc.collect()
|
||||||
|
|
||||||
process = psutil.Process(os.getpid())
|
process = psutil.Process(os.getpid())
|
||||||
print(f" duration: {t1 - t0:.02f}s")
|
print(f" duration: {(t1-t0):.2f}")
|
||||||
print(f" rss: {process.memory_info().rss / 1024 / 1024:.1f} MiB")
|
print(f" rss: {(process.memory_info().rss / 1024 / 1024):.1f} MiB")
|
||||||
print(f" vms: {process.memory_info().vms / 1024 / 1024:.1f} MiB")
|
print(f" vms: {(process.memory_info().vms / 1024 / 1024):.1f} MiB")
|
||||||
|
|
||||||
print("done.")
|
print("done.")
|
||||||
gc.collect()
|
gc.collect()
|
||||||
|
|||||||
4
setup.py
4
setup.py
@@ -27,7 +27,7 @@ requirements = [
|
|||||||
"pyelftools==0.29",
|
"pyelftools==0.29",
|
||||||
"dnfile==0.13.0",
|
"dnfile==0.13.0",
|
||||||
"dncil==1.0.2",
|
"dncil==1.0.2",
|
||||||
"pydantic==1.10.5",
|
"pydantic==1.10.6",
|
||||||
]
|
]
|
||||||
|
|
||||||
# this sets __version__
|
# this sets __version__
|
||||||
@@ -89,7 +89,7 @@ setuptools.setup(
|
|||||||
"types_requests==2.28.1",
|
"types_requests==2.28.1",
|
||||||
],
|
],
|
||||||
"build": [
|
"build": [
|
||||||
"pyinstaller==5.8.0",
|
"pyinstaller==5.9.0",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2021 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright (C) 2022 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2023 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2022 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved.
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
# You may obtain a copy of the License at: [package root]/LICENSE.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user