Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PathoJobs
Documentation
Wiki
Misuse: Crypto Miner
Changes
Page history
New page
Templates
Clone repository
Create Misuse: Crypto Miner
authored
1 year ago
by
Tobias Poschwatta
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Misuse:-Crypto-Miner.md
+43
-0
43 additions, 0 deletions
Misuse:-Crypto-Miner.md
with
43 additions
and
0 deletions
Misuse:-Crypto-Miner.md
0 → 100644
View page @
ab065f6b
*
Description:
Misuse of compute resources wastes funding and reduces availability for legitimate purposes.
One type of misuse is crypto mining, where compute resources are used to generate crypto currency.
*
Criterion:
Mining often uses specific optimized instructions that are uncommon in other HPC workloads:
detected = sum(counters) > threshold
*
Works for shared jobs with existing metrics:
Easy, if counters are per core, so it can be associated with a job.
*
Possible false positives:
There may be legitimate software that makes use of the same instructions.
Approaches to deal with them could be:
-
whitelist of users and applications
-
combination with other metrics
*
Possible cures/workarounds:
Lock user.
*
Missing Data:
TDB: How can we collect the relevant counters.
Crypto Miner
```
Input:
* Instruction use counter
* Threshold value
Rule:
detected = sum(counter) > threshold
Output: detected
```
This diff is collapsed.
Click to expand it.