It is derived from the Creation of All Things technique used by the sage, but it seems to merely be able to turn reality into imagination for a brief moment or something. Though I must say Danzo got killed way too many times during his fight with Sasuke, sometimes he just seemed sloppy.