The XSL attack relies on first analyzing the internal design of a cipher then deriving a system of quadratic simultaneous equations . In overview , the XSL attack relies on first analyzing the internals of a cipher and deriving a system of quadratic simultaneous equations .