A method for detecting a presence of a device for cloning a smart card in an automatic payment and/or withdrawal terminal, the method comprising the steps of:
- a) detecting that a smart card has not been at least partially inserted inside a reader of the automatic payment or withdrawal terminal;
- b) simulating a presence of a smart card inside the reader;
- c) measuring a current or voltage value generated by said simulation;
- d) comparing the measured current or voltage value with respect to a defined threshold value;
- e) detecting the presence of the cloning device when, according to said comparison, the measured current or voltage value is greater than or equal to the threshold value;
- f) in case of detecting the presence of the cloning device, blocking operation of the automatic payment and/or withdrawal terminal.