Security, Human Behavior and Artificial Intelligence

Welcome to my personal laboratory!

My name is Ivan Marković, and I explore at the intersection of security, human behavior and artificial intelligence.
With over 20 years of experience designing security solutions and leading technical teams, I focus on ethical technology, behavioral risk design, and building safer, more transparent digital systems.

Please get in touch via E-Mail or connect on LinkedIn.

Project notes: What "AI" hacking looked like in 2017

Project notes: What AI hacking looked like in 2017
============================================================================
PROJECT NOTES
============================================================================

TITLE:
WHAT "AI" HACKING LOOKED LIKE IN 2017

AUTHOR:
Ivan Markovic

DATE:
29.11.2026

CONTENT:
- Abstract
- The 2017 Assessment
- Assessment Matrix
- Two ways to influence a decision
- Case 01: Training-data integrity
- Case 03 / 08: Bluetooth sensor input
- Observations and Conclusion
- Recommendations
- Threat model and Control mappings
- References (from back then)
- References (today)

============================================================================
ABSTRACT
============================================================================

A rack can be getting hotter while the cooling system sees a colder room.
In 2017, we tested how that could happen in a data centre that already used
a TensorFlow model to help control cooling.

All tests ran on the operator's production test system: a non-live copy of
the production setup with the same model, controller and Bluetooth sensors,
running test racks under a controlled heat load. No live cooling was
changed.We tested two ways information could change a cooling decision. 
First, we changed the model's training files over the network. Second, 
we sent false sensor readings over Bluetooth. In the first test, every 
sensor reading was accurate, and the rack inlet still reached 38.4 deg C. 
In the second, a false reading of 19 deg C, a normal value for a cooled 
rack, together with one sensor going offline, pushed the rack inlet to 41.1 
deg C. Far from recommended values.

============================================================================
THE 2017 ASSESSMENT
============================================================================

We used NIST industrial control system security guidance, supported by
STRIDE threat modelling and OWASP IoT guidance. The full assessment covered
ten points (see the matrix below). Four are relevant to this note:

    01  Training-data integrity
        Can someone change what the AI model learns?
    03  Sensor input integrity
        Can the AI model be given a false reading?
    07  Fault injection
        What does the model do when a sensor goes offline?
    08  Bluetooth link security
        Can a false reading arrive over Bluetooth?

For point 01, we changed the model's training files over the network.
For points 03 and 08, we tested a model designed to keep working when some
sensors failed or sent incorrect or extreme readings. We sent false
readings over Bluetooth and found values that triggered unsafe behaviour.
For point 07, we took a second sensor offline during the same test.

This note is about the model's decisions. The Bluetooth link findings
themselves, and the other six assessment points, are outside its scope.
For point 08, what matters here is that a false reading could reach the
model.

============================================================================
ASSESSMENT MATRIX
============================================================================

We defined the assessment points through threat modelling:

#  | Test scope                  | Test objective
---+-----------------------------+------------------------------------------
01 | Training-data poisoning     | Assess corrupted training data
02 | Model file tampering        | Verify model and deployment integrity
03 | Sensor spoofing / evasion   | Test robustness to false sensor readings
04 | Unauthorised policy changes | Verify policy integrity and audit trail
05 | Output / boundary testing   | Check rejection of invalid control
   |                             | outputs
06 | Actuator authorisation      | Verify device-level command permissions
07 | Fault injection             | Test fault isolation and safe fallback
08 | Bluetooth security          | Check pairing, identity and link
   |                             | integrity
09 | RPi hardening               | Review services, updates, physical access
10 | Network segmentation        | Verify IT/control-zone isolation

Indicative mapping to STRIDE, NIST ICS and OWASP IoT, as used in 2017:

#  | STRIDE    | NIST ICS          | OWASP IoT
---+-----------+-------------------+--------------
01 | T         | SI / CM / AC      | I2 / I9
02 | T         | SI / CM           | I9
03 | S / T     | IA / SI / SC      | I4
04 | T / R     | CM / AC / AU      | I2
05 | T / D     | SI / SC / CP      | I4
06 | S / E     | AC / IA / AU      | I2
07 | D         | CP / SI / RA      | I9 / I10
08 | S / T / I | IA / SC           | I2 / I4
09 | T / I / E | CM / AC / SI / PE | I3 / I9 / I10
10 | T / I / E | AC / SC           | I4 / I6

============================================================================
TWO WAYS TO INFLUENCE A DECISION
============================================================================

We found two paths that could influence a cooling decision:

    1. The training files. A vendor feature added building and rack
       specifications to the training data, and the files could be
       changed over the network.
    2. The Bluetooth sensor link that carried live readings to the model.

Both are normal inputs: the model is meant to learn from site data and to
act on sensor readings. Neither path required changing the model file or
the controller software. The other controls we tested worked as intended,
and the model still asked for less cooling than the rack needed.

    Case 01       Changed training files --> Training --> Model --> Cooling
    Case 03 / 08  False Bluetooth reading --> Existing model --> Cooling

Both cases used the same reference workload on the test system. With
normal inputs, the original model asks for 55% cooling duty at minute 3.
The controller would not go below 30% duty. Both attacks pushed the model
down to that floor.

HOW THESE CASES MAP TO TODAY'S OWASP LISTS:

The 2017 model was a TensorFlow controller, not a language model or an
agent. The OWASP Machine Learning Security Top 10 is therefore the closest
fit. The GenAI and agentic lists are modern parallels.

Case 01 is training-data poisoning. It maps directly to ML02:2023, Data
Poisoning Attack. OWASP's GenAI Top 10 describes the same risk under
LLM05:2026, Data and Model Poisoning. The agentic comparison is
conditional. ASI04, Agentic Supply Chain Vulnerabilities, applies when a
third-party dataset or artefact is compromised and trusted by an agent. In
our assessment, the training files were an internal input changed over the
network, not a compromised third-party artefact.

Case 03 / 08 is inference-time input manipulation. It maps directly to
ML01:2023, Input Manipulation Attack: an attacker changes the input to
mislead the model at runtime. A useful parallel is LLM01:2026, Prompt
Injection, where untrusted input influences a decision at runtime. Our
test used numeric readings, not text. ASI01, Agent Goal Hijack, is a
conditional comparison for a modern agent whose goals or plan are
redirected by untrusted input.

    Case     | OWASP ML (2023) | OWASP LLM (2026)   | OWASP Agentic (2026)
    ---------+-----------------+--------------------+---------------------
    01       | ML02            | LLM05              | ASI04 (conditional)
    03 / 08  | ML01            | LLM01 (parallel)   | ASI01 (conditional)

============================================================================
CASE 01: TRAINING-DATA INTEGRITY
============================================================================

The vendor provided a feature for adding building and rack specifications
to the model's training data. That helped adapt the system to each site.
The feature itself was legitimate.

The weakness was where the training files were kept. We could reach them
over the network, write access was not restricted, and nothing checked the
files, or the model trained from them, before the new model went into use.
During the assessment, we changed the training files over the network and
let the normal training process produce a new model.

We then ran both models on the test system with the same workload and the
same accurate sensor readings:

    Original training data --> Original model --> 55% cooling duty
    Altered training data  --> Altered model  --> 30% cooling duty

The altered model asks for less cooling just as the workload rises. The
rack inlet reaches 38.4 deg C and spends one minute at or above the
38.0 deg C critical threshold. No sensor reading was false. The decision
changed because the model had learned from different data.

============================================================================
CASE 03 / 08: BLUETOOTH SENSOR INPUT
============================================================================

The controller was designed to keep working when some sensors failed or
reported wrong or extreme values. It rejected readings outside a plausible
range. When a sensor went offline, it carried on with the readings that
remained.

    False sensor reading --> Bluetooth --> Existing model --> Cooling

Extreme false values were rejected, as designed. Values within the normal
range were not. We sent a reading of 19 deg C for a rack whose real inlet
temperature was 26.8 deg C. 19 deg C looks like a well-cooled rack, not a
broken sensor, so the controller accepted it.

At minute 3, the model asks for 30% cooling duty. With normal readings, it
asks for 55% at the same point.

We then took a second sensor on that rack offline (assessment point 07).
The controller did what it was designed to do and carried on with the
readings that remained. Our false reading was now the one the model relied
on for that rack. Nothing in the model's inputs showed the rack heating
up. Cooling stayed at 30%, and the rack got hotter.

The fault tolerance did not fail. It worked as designed, and that is what
made the attack effective.

============================================================================
OBSERVATIONS AND CONCLUSION
============================================================================

In Case 03 / 08, at some point the rack inlet reaches 41.1 deg C and spends 
three minutes at or above the 38.0 deg C critical threshold. At these 
temperatures, servers can throttle or shut down to protect themselves, and s
ustained overheating can damage equipment. The controller also checked its 
own outputs (assessment point 05). Both attacks passed that check, because 
30% was a valid output: the lowest duty the controller allowed.

The model had a simple decision to make: how much cooling to ask for.
We could influence that decision by changing the data it learned from
or the readings it received during operation. The same question comes
up whenever an AI system can act:

    Who can influence what the system sees, and what can the system do
    with that information?

============================================================================
RECOMMENDATIONS
============================================================================

Simple controls would have stopped or limited both cases:

  - Protect the training files. Limit who can write to them, log every
    change, and compare them with a known-good copy before training.
  - Test each new model before release. Run it and the previous model on
    the same reference scenarios. Hold the release if the new model asks
    for noticeably less cooling under the same conditions.
  - Keep a safety limit outside the model. If independent temperature
    sensors read high, cooling goes up, whatever the model asks for.
  - Fail towards more cooling. When sensors go offline or disagree, the
    controller should cool more, not rely on the readings that are left.
  - Cross-check readings. Compare each sensor with its neighbours and with
    other signals, such as rack power draw and exhaust temperature.
  - Authenticate the sensors, so the controller knows which device sent a
    reading and that the reading was not changed on the way.

============================================================================
THREAT MODEL AND CONTROL MAPPINGS
============================================================================

STRIDE
    S    Spoofing
    T    Tampering
    R    Repudiation
    I    Information disclosure
    D    Denial of service
    E    Elevation of privilege

NIST SP 800-53 Rev. 4 control families, as applied in SP 800-82 Rev. 2
    AC   Access control
    AU   Audit and accountability
    CM   Configuration management
    CP   Contingency planning
    IA   Identification and authentication
    PE   Physical and environmental protection
    RA   Risk assessment
    SC   System and communications protection
    SI   System and information integrity

OWASP IoT '14 Top 10
    I1   Insecure web interface
    I2   Insufficient authentication or authorisation
    I3   Insecure network services
    I4   Lack of transport encryption or integrity verification
    I5   Privacy concerns
    I6   Insecure cloud interface
    I7   Insecure mobile interface
    I8   Insufficient security configurability
    I9   Insecure software or firmware
    I10  Poor physical security

Today's OWASP entries used in this note
    ML01:2023   Input manipulation attack
    ML02:2023   Data poisoning attack
    LLM01:2026  Prompt injection
    LLM05:2026  Data and model poisoning
    ASI01       Agent goal hijack
    ASI04       Agentic supply chain vulnerabilities

============================================================================
REFERENCES (from back then)
============================================================================

    TensorFlow: A System for Large-Scale Machine Learning (OSDI 2016)
    https://research.google/pubs/
    tensorflow-a-system-for-large-scale-machine-learning/
    
    Alfeld, Zhu and Barford, Data Poisoning Attacks against
    Autoregressive Models (AAAI, 2016)
    https://ojs.aaai.org/index.php/AAAI/article/view/10237

    Huang et al., Adversarial Attacks on Neural Network Policies (2017)
    https://arxiv.org/abs/1702.02284

    NIST SP 800-82 Rev. 2 (2015), superseded by Rev. 3 (2023)
    https://csrc.nist.gov/pubs/sp/800/82/r2/final

    OWASP Internet of Things Project (2014)
    https://web.archive.org/web/20170207060944/https://owasp.org/images/7/
    71/Internet_of_Things_Top_Ten_2014-OWASP.pdf

============================================================================
REFERENCES (today)
============================================================================

    OWASP Machine Learning Security Top 10 (2023)
    https://owasp.org/www-project-machine-learning-security-top-10/

    OWASP Top 10 for LLM Applications (2026)
    https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/

    OWASP Top 10 for Agentic Applications (2026)
    https://genai.owasp.org/2025/12/09/owasp-top-10-for-agentic-
    applications-the-benchmark-for-agentic-security-in-the-age-of-
    autonomous-ai/

============================================================================

        

Home