Integration Documentation
Send your signalling firewall or probe exports in whichever way suits you — all three feed the same pipeline: SFTP drop box (scheduled exports, the usual choice), portal upload (CSV/JSON, ideal for a pilot sample) or REST API (pushed by your firewall, STP/DEA or probe for near-real-time). Nothing is installed in your network and SignalsGuard never connects into your STP or DEA — you push data out. SFTP credentials are issued per data provider; every upload is malware-checked and reviewed before loading.
What we need from you
We ingest signalling metadata only — no subscriber PII. Specifically: operation type, protocol, source Global Title or Diameter realm, timestamp, and outcome. We never ask for IMSI, MSISDN, call content, or location coordinates. Every further field you can export adds detection; the full list is under What to include.
Authentication
All API requests require authentication. We support two methods:
Bearer JWT Token
Obtain a JWT by calling POST /api/auth/login with your email and password. Pass it in the Authorization header:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
API Key (recommended for probe integration)
Generate an API key in the platform under My account → API Access. Pass it in the X-API-Key header:
X-API-Key: sgk_a1b2c3d4e5f6...
sgk_ and are 52 characters long.Quickstart
Not ready to send data? Use the free signalling export kit. It runs offline in your browser and uploads nothing. It turns any firewall, STP or probe export into this schema, replaces MSISDNs with a keyed hash only you hold, cuts IMSIs to MCC+MNC and drops every other column. It also gives you an instant self-assessment of the export. Your security team can review the single HTML file before anyone uses it.
Send your first event in under 2 minutes:
curl -X POST https://signalsguard-api-production.up.railway.app/api/ingest/metadata \
-H "X-API-Key: sgk_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"events": [{
"event_time": "2026-09-07T10:23:00Z",
"protocol": "SS7",
"operation": "SRI",
"source_country": "RU",
"source_operator": "RU mobile GT range",
"source_gt": "79160000001",
"summary": "SRI from non-partner GT to HLR"
}]}'
A successful response returns {"ok": true, "inserted": 1}. The event will appear in your dashboard within seconds.
Ingest Endpoint
Request body
{
"events": [
{
"event_time": "2026-09-07T10:23:00Z", // ISO 8601 UTC
"protocol": "SS7", // SS7 | Diameter | GTP-C | SIP | 5G-SBA
"operation": "SRI", // see Protocol Reference
"status": "blocked", // only for firewall data: blocked | alerted | monitored; omit for raw metadata
"source_gt": "79160000001", // SCCP calling GT (or origin_host / src_ip)
"msisdn_hash": "9f2c...e1", // hash of the targeted number, never the number
"source_country": "RU", // ISO 3166-1 alpha-2
"source_operator": "RU mobile GT range", // the SENDING network (owner of the source GT/realm), not your own
"campaign_id": "camp_abc123", // optional - groups events you know belong together
"summary": "SRI from non-partner GT to HLR targeting UK subscriber"
}
]
}
Event Schema
All fields except event_time, protocol, and operation are optional but improve detection quality.
| Field | Type | Description |
|---|---|---|
| event_time | required | ISO 8601 UTC timestamp of when the signalling event was observed |
| protocol | required | SS7, Diameter, GTP-C, SIP or 5G-SBA |
| operation | required | The MAP/Diameter/GTP-C/SIP operation code or name (e.g. SRI, ATI, AIR, Create-Session-Req) |
| status | firewall data only | blocked / alerted / monitored — what your firewall did. Leave it out for raw signalling metadata from a probe, tap or STP/DEA log: the events are analysed for threats in the same way and shown as OBSERVED, but not scored as firewall decisions. |
| source_country | optional | ISO 3166-1 alpha-2 country code of signalling source (derived from GT E.164 prefix if not supplied) |
| source_operator | optional | Name or identifier of originating operator/network (STP name, GT prefix, Diameter peer FQDN) |
| campaign_id | optional | Group related events into a correlation campaign. Use the same ID for events that are part of the same attack chain (e.g. SRI + PRN + ISD from the same source). |
| summary | optional | Human-readable description of the event. Used in AI report generation. |
Protocol Reference
Send the operation name your platform uses — most vendor spellings and opcode names are recognised. The complete list, with codes, categories and why each matters, is generated from the classification engine in the user guide reference. A few examples:
SS7 MAP
SRI SendRoutingInfo (opcode 22) - returns IMSI and serving MSC; first step of tracking/interception
SRI-SM SendRoutingInfoForSM (opcode 45) - SMS routing; repeated without delivery = reconnaissance
ATI AnyTimeInterrogation (opcode 71) - cell-level location; no legitimate use between networks
PSI ProvideSubscriberInfo (opcode 70) - location from the serving VLR
SendIMSI SendIMSI (opcode 58) - MSISDN to IMSI
ISD InsertSubscriberData (opcode 7) - profile change (forwarding, CAMEL triggers)
UL UpdateLocation (opcode 2) - registration at a new MSC/VLR; spoofed it diverts calls/SMS
SAI SendAuthenticationInfo (opcode 56) - authentication vectors (never the Ki)
MT-FSM MT-ForwardSM (opcode 44) - SMS delivery; SIM toolkit payloads recognised from the header
Diameter
ULR / AIR S6a Update-Location / Authentication-Information (316 / 318)
IDR / CLR S6a Insert-Subscriber-Data / Cancel-Location (319 / 317)
PLR SLg Provide-Location (8388620) - positioning; only from contracted GMLCs
RIR SLh Routing-Info (8388622)
LIR / UDR Cx Location-Info / Sh User-Data (302 / 306) - IMS-internal, never valid from outside
GTPv2-C
Create Session (32) Modify Bearer (34) Delete Session (36) Create Bearer (95) Delete Bearer (99)
TEID 0 is normal on an initial Create Session; on any other message it marks a crafted packet.
SIP
REGISTER INVITE REFER MESSAGE BYE SUBSCRIBE
5G SA core (SBA over HTTP/2, via the SEPP on N32) — protocol 5G-SBA
Nudm_UECM_Get serving AMF / SMSF lookup (5G counterpart of SRI-SM) - not expected from a foreign PLMN
Namf_Location_ProvideLocationInfo, Namf_EventExposure_Subscribe - location; never valid from a foreign PLMN
Nudm_UEAU_Get home AUSF only; Nausf_UEAuthentication only from the network serving the roamer
Nudm_UECM_Registration AMF registration (5G counterpart of UpdateLocation)
Nsmf_PDUSession_Create / Update / Release home-routed sessions (N16); Update/Release only from the creating SMF
Nnrf_NFDiscovery, Nnrf_NFManagement_NFRegister, N32c handshake core reconnaissance / rogue NF registration
Send origin_host = the N32 peer SEPP FQDN, http_status = the HTTP status of the answer (2xx answered, 403 refused, 404 user or context not found), returned_host = the AMF named in a Nudm_UECM_Get answer, dest_host = the NF a request was sent to, and originating_plmn / peer_plmn so a PLMN claimed in the request can be checked against the N32 peer.
GSMA FS.11 Category Reference
SignalsGuard automatically classifies events against GSMA FS.11 categories. Supply gsma_category in your events to override auto-classification.
| Category | Name | Typical Operations |
|---|---|---|
| A.1 | Active Interception | SRI, PRN, MAP-SRI, SLh-LIR |
| A.2 | Subscriber Data Harvesting | ATI, SAI, PSI, Diameter-AIR |
| A.3 | Traffic Manipulation | CL, ISD, SIP-REFER, SIP-REGISTER |
| A.4 | Data Path Interference | GTP-C Create-Session, Modify-Bearer |
| B.1 | Subscriber Profile Manipulation | ISD, MAP-InsertSubscriberData |
| B.2 | Mobility Manipulation | UL, MAP-UpdateLocation |
| B.3 | Network Abuse | SRI-SM, MAP-SRI-for-SM |
| C.1 | Network Integrity | Policy violations, firewall bypass |
Ericsson Probe Integration
For Ericsson STP (Signal Transfer Point) and MSC-S, configure your SNMP or proprietary probe export to generate a JSON event per detected operation and forward to SignalsGuard via the ingest endpoint.
Ericsson STP CEX export mapping
STP CEX field -> SignalsGuard field
OpCode -> operation (use MAP opcode name e.g. "SRI", "ATI")
OriginatingGT -> source_operator (use GT prefix for operator lookup)
OriginatingCountry -> source_country
Timestamp -> event_time
ActionTaken -> status (block->"blocked", alert->"alerted", pass->"monitored")
ThreatCategory -> gsma_category (if your STP supports GSMA categorisation)
/api/ingest/metadata with the X-API-Key header and a JSON adapter script on the STP node to map fields.Nokia / Alcatel-Lucent Integration
Nokia SGSN-MME, Nokia 7750 SR, and Alcatel Signalling Gateway can export CDRs or SNMP traps. Use the Nokia NetAct northbound interface or a middleware adapter to convert Nokia signalling events to the SignalsGuard JSON schema.
# Example: Nokia SignallingGuard (NSG) syslog to SignalsGuard adapter
# Each NSG syslog line (RFC 5424 format) is parsed and forwarded:
nokia_op_map = {
"OPCODE_SRI": {"operation": "SRI", "protocol": "SS7", "gsma_category": "A.1"},
"OPCODE_ATI": {"operation": "ATI", "protocol": "SS7", "gsma_category": "A.2"},
"OPCODE_ISD": {"operation": "ISD", "protocol": "SS7", "gsma_category": "B.1"},
"DIAMETER_AIR":{"operation": "AIR", "protocol": "Diameter", "gsma_category": "A.2"},
}
Huawei Integration
Huawei STP, USN9810 MSC, and GBSS can export to syslog or via the CORBA/REST northbound interface of the eSight NMS. Map the MSISDN-free signalling fields to the SignalsGuard schema:
Huawei field -> SignalsGuard field
signalType -> operation
networkElement -> source_operator
callingPartyCountry -> source_country
eventTime -> event_time
alarmLevel -> severity (critical=4, major=3, minor=2, warning=1)
Generic / PCAP Integration
If your network uses vendor-agnostic SS7 probes, network taps, or PCAP capture, you can process signalling traffic with open-source tools and forward to SignalsGuard:
Using tshark (Wireshark CLI)
# Extract SS7 MAP operations from PCAP and POST to SignalsGuard
tshark -r capture.pcap -Y "gsm_map" \
-T fields -e frame.time -e gsm_map.opr.code -e e164.number \
| python3 sg_adapter.py --api-key sgk_YOUR_KEY
Using SigPloit / Diameter framework
# Any framework generating MAP/Diameter events can POST JSON events
# to /api/ingest/metadata with the X-API-Key header.
# See Quickstart above for the minimum required fields.
Platform API — Events
5G-SBA), peer IP (GTP-C, SIP). Each source carries its GT range or realm, country, techniques, how many messages were blocked or got through, the attack chains it took part in and a 0–100 risk score. Every hostile address in the period is included: totals, worst (top 10), worst_by_protocol (top 5 each) and the roll-ups by GT range, realm, country and protocol always cover the whole period, while sources is one page of the full list (matching, offset, limit up to 1000). Filter with q (address, range, realm, network, country), protocol, risk (minimum: medium, high, critical), reached=1 and chained=1; order with sort (risk, events, got_through, subscribers, last_seen, first_seen, address, country, network, protocol) and dir. parts=list returns only the page. scope=pool adds the shared intelligence pool; format=csv returns every matching source as a block list for firewall import.detections counts your own chains in the last 90 days that match the actor's behaviour; a match is a behavioural overlap, not attribution. review_due is true when newer public reporting is waiting for analyst review. latest lists recent public reports that an analyst has reviewed.range days (default 90): attack chains SignalsGuard detected automatically (kind: "detected", with chain_type, source, confidence and event IDs) and events sharing a client-supplied campaign ID (kind: "tagged").Platform API — Compliance Report
Platform API — Webhooks
SignalsGuard can push alerts to your SIEM, SOC tooling, or incident management system via HMAC-signed webhooks.
Configure a webhook
POST /api/webhooks
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json
{
"url": "https://your-soc.example.com/signalsguard-alerts",
"secret": "your-webhook-signing-secret"
}
Webhook payload
{
"event_id": "evt_abc123",
"severity": "critical",
"operation": "ATI",
"protocol": "SS7",
"gsma_category": "A.2",
"source_country": "RU",
"source_operator": "RU mobile GT range",
"detected_at": "2026-09-07T10:23:00Z",
"summary": "ATI from non-partner GT targeting HLR"
}
Verify webhook signature
# Python example
import hmac, hashlib
def verify(payload_bytes, secret, header_sig):
expected = "sha256=" + hmac.new(
secret.encode(), payload_bytes, hashlib.sha256
).hexdigest()
return hmac.compare_digest(expected, header_sig)
# The signature is in the X-SignalsGuard-Signature header
CSV Bulk Import
The CSV import endpoint allows you to upload signalling event exports from your existing firewall or probe platform — no live integration required. This is the recommended starting point for operators evaluating SignalsGuard or running a PoC.
file. Max file size 5 MB (~50,000 events).Request format
POST /api/ingest/csv
Authorization: Bearer YOUR_TOKEN
Content-Type: multipart/form-data
# Field: file (CSV file)
calling_gt, sccp_calling_gt and source_gt are the same field). Before your first full upload, send us 50–100 sample rows and we confirm the column mapping and tell you which detections your export supports. Columns we don't recognise are ignored, never guessed.What to include
Only Tier 1 is required. Each further field turns on more detection, so send what your platform already exports. You don't need to build anything new.
| Column | Tier | What it enables |
|---|---|---|
| event_time | 1 · Required | ISO 8601 timestamp, UTC. Aliases: timestamp, time, date_time. |
| protocol | 1 · Required | SS7, Diameter, GTP-C, SIP or 5G-SBA. Alias: proto. |
| operation | 1 · Required | The message: MAP name or opcode name (ATI, SRI-SM, SendRoutingInfoForGprs…), Diameter command (ULR, AIR, IDR…), GTPv2 message or SIP method. Most vendor spellings are recognised. Aliases: op, message_type. |
| status | 1 · Firewall data only | What your firewall did: blocked, alerted or allowed/monitored. This lets us measure whether your controls worked. Raw signalling metadata (probe, tap, STP/DEA logs) has no verdict: leave the column out and the events are analysed for threats in the same way and shown as OBSERVED. Aliases: action, action_taken. |
| source_gt / called_gt | 2 · Sender | SCCP calling and called Global Title. Needed for source reputation, attack chains, GT-spoofing checks and dormant-source tracking. |
| origin_host, origin_realm, dest_realm | 2 · Sender | Diameter origin AVPs, for FS.19 edge validation and Diameter attack chains. |
| src_ip, teid | 2 · Sender | GTP-C peer address and tunnel ID, for FS.20 peer checks and session-hijack detection. |
| source_country, source_operator | 2 · Sender | ISO country code and network name, for country breakdowns and multi-country coordination. |
| msisdn_hash | 2 · Subscriber | A consistent hash of the targeted number (for example SHA-256 with your own secret salt). This lets us link attacks on the same person across sources, protocols and weeks: coordinated, cross-protocol and persistent targeting. We re-key it on arrival. Never send the raw MSISDN. |
| map_error_code, result_code, cause, response_code | 2 · Reply | What the network answered: the MAP error (1 unknown subscriber, 6/27 absent subscriber…; leave empty when the request succeeded), Diameter Result-Code or Experimental-Result-Code, GTP-C cause (16 accepted, 64 context not found) or SIP final response. A phone that is switched off is not an attack; a lookup that was answered and never followed by delivery is. Without replies, routing queries are still analysed, at lower confidence. Alias: response (answered / absent / unknown / refused). |
| network_node_number, returned_host | 2 · Reply | The serving node named in a routing answer: the MSC/VLR GT in an SRI or SRI-SM answer, or the MME/SGSN host in an SLh, Sh or S6c answer. A later PSI, PSL, SLg PLR or IDR sent to that node is linked to the lookup that revealed it, even when the attacker changes source address between the two steps. Also used for SMS home-routing evidence. |
| imsi_prefix, is_home_subscriber | 2 · Subscriber | IMSI MCC+MNC only (for example 23415) and whether the subscriber is yours. Needed for FS.11 Category 2/3 and S6a validation. Never send the full IMSI. |
| opcode_form, multiple_components, empty_components, malformed_pdu, acn / acn_mismatch | 3 · Evasion | Your firewall's decode of how the message was built: global opcode, multi-component or empty TCAP, corrupt opcode, MAP sent under a CAMEL application context. These are the defence-evasion techniques used against basic STP screening. |
| called_ssn, calling_ssn | 3 · Evasion | SCCP subsystem numbers. A Called SSN that doesn't fit the operation is flagged. |
| tp_pid, tp_dcs, udh_iei (or sim_toolkit) | 3 · SMS | SMS header bytes in hex (for example tp_pid 7F, udh_iei 70). From these we recognise SIM toolkit / OTA messages from other networks, the delivery method of Simjacker-type attacks. tp_pid 40 is a silent (Type 0) SMS. After a suspicious location update, one shows an attacker checking that an interception still holds (SilentAir). Alias silent_sms (true/false). |
| gtp_version, gtp_length (or gtp_covert_payload) | 3 · GTP | GTP version and the header Length field of GTP-C messages. A GTP-C Echo Request longer than the standard allows (GTPv2 over 14, GTPv1 over 4) carries a hidden command channel, as used by the GTPDoor implant. Your GTP firewall's own verdict can be sent as gtp_covert_payload, and also applies to GTP-U packets (operation T-PDU). |
| sc_address | 3 · SMS | The MAP service-centre address, for SMS spoofing and relay checks. |
| dest_host | 3 · Diameter | Destination-Host of the request, so a location request can be matched to the MME a routing answer revealed. |
| route_record, application_id | 3 · Diameter | The Route-Record list and Application-Id. These reveal the node that really sent a relayed or rewritten request. |
| transit_carrier | 3 · Trace-back | The SCCP carrier or IPX that delivered the message (or its OPC), so an attack can be traced back with that carrier. |
| campaign_id, summary | Optional | Your own correlation ID and notes. Shown alongside our attack chains. |
msisdn, imsi, imei, cell_id or subscriber_id columns are rejected, so subscriber identities and locations never leave your network. Message content (SMS text) is never needed.Example CSV
event_time,protocol,operation,status,source_gt,called_gt,source_country,msisdn_hash,imsi_prefix,is_home_subscriber,map_error_code,network_node_number,opcode_form,tp_pid,udh_iei
2026-09-01T09:14:00Z,SS7,MAP-ATI,blocked,447441000001,447700000010,GB,9f2c…e1,23415,true,,,local,,
2026-09-01T09:15:22Z,SS7,MAP-SRI-SM,allowed,46700000001,447700000010,SE,9f2c…e1,23415,true,,447700100200,global,,
2026-09-01T09:19:40Z,SS7,MAP-PSI,allowed,22509900001,447700100200,CI,9f2c…e1,23415,true,,,local,,
2026-09-01T09:22:03Z,SS7,MAP-SRI-SM,allowed,49150000001,447700000010,DE,77d1…9a,23415,true,6,,local,,
2026-09-01T09:31:05Z,SS7,MAP-MT-FSM,allowed,41790000001,447700000020,CH,4b7a…03,23415,true,,,,7F,70
2026-09-01T09:40:10Z,Diameter,S6a-IDR,alerted,,,JE,9f2c…e1,23415,true,,,,,
In this sample the SRI-SM from Sweden was answered with VLR 447700100200, no SMS followed, and four minutes later a PSI from a different GT went to that exact VLR: one location-tracking operation using two source addresses. The SRI-SM from Germany got "absent subscriber" (error 6): a failed delivery to a phone that is off, and not counted as reconnaissance.
Response
{
"ok": true,
"total_rows": 150,
"inserted": 147,
"skipped": 3,
"errors": [
"Row 12: unknown protocol SCTP",
"Row 88: invalid event_time format"
]
}
curl example
curl -X POST https://api.signalsguard.com/api/ingest/csv \\
-H "Authorization: Bearer $SG_TOKEN" \\
-F "file=@/path/to/firewall-export.csv"
campaign_id column to preserve your probe's correlation identifiers. SignalsGuard uses these to group correlated events into attack chain narratives in the Reports brief.FAQ
Can I push events in batches?
Yes. The ingest endpoint accepts up to 1,000 events per request. Batch at 100-500 events every few seconds rather than per-event HTTP calls for best throughput.
What if I don't have gsma_category?
Leave it out. SignalsGuard classifies every event itself from the protocol and operation, and ignores any category supplied, so all customers are rated on the same basis.
Can I test without a live network?
Yes. Push synthetic events to the ingest endpoint. A demo tenant with pre-loaded synthetic data is available — or request a free 5-day pilot to test with your own data.
How is my data isolated from other tenants?
All queries filter by tenant_id at the database level. Your events are never returned to another tenant. API keys and JWT tokens are scoped to your tenant exclusively.
What TLS version is required?
TLS 1.2 or higher. We recommend TLS 1.3. The API endpoint is HTTPS-only. HTTP requests are rejected.