mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-05-03 10:47:57 -07:00
Better wording on IMSI requested warning
This commit is contained in:
committed by
Cooper Quintin
parent
3e26e61b05
commit
26eda5904f
@@ -30,7 +30,7 @@ impl Analyzer for ImsiRequestedAnalyzer {
|
|||||||
return None;
|
return None;
|
||||||
};
|
};
|
||||||
|
|
||||||
// NAS identity request
|
// NAS identity request, ID type IMSI
|
||||||
if payload == &[0x07, 0x55, 0x01] {
|
if payload == &[0x07, 0x55, 0x01] {
|
||||||
if self.packet_num < PACKET_THRESHHOLD {
|
if self.packet_num < PACKET_THRESHHOLD {
|
||||||
return Some(Event {
|
return Some(Event {
|
||||||
@@ -38,7 +38,7 @@ impl Analyzer for ImsiRequestedAnalyzer {
|
|||||||
severity: Severity::Medium
|
severity: Severity::Medium
|
||||||
},
|
},
|
||||||
message: format!(
|
message: format!(
|
||||||
"NAS IMSI request detected, however it was within \
|
"NAS IMSI identity request detected, however it was within \
|
||||||
the first {} packets of this analysis. If you just \
|
the first {} packets of this analysis. If you just \
|
||||||
turned your device on, this is likely a \
|
turned your device on, this is likely a \
|
||||||
false-positive.",
|
false-positive.",
|
||||||
@@ -50,7 +50,7 @@ impl Analyzer for ImsiRequestedAnalyzer {
|
|||||||
event_type: EventType::QualitativeWarning {
|
event_type: EventType::QualitativeWarning {
|
||||||
severity: Severity::High
|
severity: Severity::High
|
||||||
},
|
},
|
||||||
message: format!("NAS IMSI request detected"),
|
message: format!("NAS IMSI identity request detected"),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user