mirror of
https://github.com/mandiant/capa-rules.git
synced 2026-10-12 02:18:39 +00:00
22 lines
640 B
YAML
22 lines
640 B
YAML
rule:
|
|
meta:
|
|
name: generate random numbers in .NET
|
|
namespace: data-manipulation/prng
|
|
authors:
|
|
- [email protected]
|
|
- [email protected]
|
|
scopes:
|
|
static: function
|
|
dynamic: call
|
|
mbc:
|
|
- Cryptography::Generate Pseudo-random Sequence::Use API [C0021.003]
|
|
features:
|
|
- or:
|
|
- api: System.Random::Next
|
|
- api: System.Random::NextBytes
|
|
- api: System.Random::NextDouble
|
|
- api: System.Random::NextIn64
|
|
- api: System.Random::NextSingle
|
|
- api: System.Random::Sample
|
|
- api: System.Security.Cryptography.RandomNumberGenerator::GetInt32
|